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

    Details

    • Type: Bug
    • Status: Needs Triage (View Workflow)
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: 3.2.2
    • Fix Version/s: None
    • Component/s: General
    • Labels:
    • Symptom Severity:
      Severity 1 - Critical

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            isaac.brown IBrown_BluePrint
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: