Details
-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
2.7.6
-
- OS: macOS High Sierra 10.13.4
- Client: SourceTree for Mac 2.7.6 (177)
- JDK: 1.8.0_111
- Git: Embedded Git 2.17.1
-
Severity 2 - Major
Description
Untracked files appear in the File status in the Unstaged files widget. When staging an untracked file (git add -N <filename>), the file disappears from both the Unstaged files and Staged files widgets.
Steps to Reproduce
- Create a new repository and open it in the SourceTree client
- From the command line, change directory to the repo and create a new file with some content in it
- Confirm the file is showing in SourceTree by clicking on File status and pressing ⌘+R
- Add the file with an intent to stage later by running git add -N <filename>
- Refresh the SourceTree window by pressing ⌘+R
Expected Results
The file should be showing in the Staged files widget as a new file with no content. The file should also be showing in the Unstaged files as a modified file with all content counting as a diff from the staged version of the file with zero content.
Actual Results
The file does not show up in either widget.