Details
-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
3.2.2, 3.4.0, 3.4.1, 3.4.2-beta, 3.4.2, 3.4.3-beta, 3.4.4-beta, 3.4.4
-
Severity 1 - Critical
Description
This bug has existed in every 3.x version of Sourcetree for Windows (currently still present in 3.4.4) and is easily replicated.
- Create a repository
- Edit the config and add `worktree = C:\\Some
Path` where that path is not the repository directory. - Create a file in this new main working tree directory
- SourceTree sees the new file, but cannot stage it (produces an error)
- Stage the file with the terminal and commit with either the terminal or SourceTree
- Change the file
- SoucreTree sees the change as an edit
- Stage the file with SourceTree
- It is staged as a file deletion and the actual file in the working tree is DELETED, along with any changes you were attempting to stage
Deleting files people are trying to enter into version control is a cardinal sin level of bug and this will be my 3rd time submitting over the past 3 years.