The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events