Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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


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
Community showcase
Published in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

7,268 views 5 14
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you