Using external working directory causes staging changes to produces unpredictable results.

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Low
    • None
    • Affects Version/s: 3.2.2
    • Component/s: General
    • Severity 1 - Critical

      If setting 

      worktree = <Some directory other than where .git folder is>
      

      then attempting to stage changes to files does not work. I have had it simply fail with an error, but more disturbingly, I have had it delete the changed files!

       

      Openning terminal and doing

      git add .
      

      works fine and the commit works fine.

      Note that attempting to add a repository with a working tree as a subtree in another repository also fails in strange and destructive ways.

            Assignee:
            Unassigned
            Reporter:
            IBrown_BluePrint
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: