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

Cannot stage files that've been delted

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Medium
    • None
    • 1.8.1
    • None
    • None

    Description

      When a file is deleted the latest version of Source Tree can't stage the delete file so I can't commit the file deletion.

      In my case a file has been renamed in Windows Explorer e.g. file_ver_0129.c has become _file_ver_0130.c Source Tree sees this as one file being added and one flle being deleted - I have added and committed the new file to the repository, but when I attempt to stage/commit the deleted file I get the error:

      git -c diff.mnemonicprefix=false -c core.quotepath=false rm -q -f – file_ver_0129.c
      fatal: pathspec 'file_ver_0129' did not match any files

      Completed with errors, see above.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              e1ddae53-0151-4ba5-a091-924d54fd777f Deleted Account (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: