Uploaded image for project: 'Sourcetree for Windows'
  1. Sourcetree for Windows
  2. SRCTREEWIN-12317

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Low Low
    • None
    • 3.2.2
    • 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.

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

                Created:
                Updated:
                Resolved: