Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Wrong Pending filter: newly added and modified files appear as clean in File Status view

valids April 18, 2021

Steps to reproduce:

git add SomeNewFile # might by invoked by adding a file in an IDE (e.g. Qt Creator)

# do some modifications to SomeNewFile

=> SomeNewFile doesn't show up in the Pending or Modified filters, only in the Clean one

git status - shows the file as "new file" besides the "modified" ones in the Changes sections and the file will be included by git add -u (that should be the pending filter + untracked files)

I think Sourcetree behavior to exclude the file from Pending and Modified filters is wrong. Pending showing the untracked files but not the ones added and modified is very confusing, it is a "pending" file more than untracked ones.

To summarize:
Create a file, modify it => the file appear in the Pending view
Create a file, add to git (git add), modify it => the file does not show up in the Pending view

LE: Windows 10, Sourcetree 3.4.4, git 2.30

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events