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 graph after just deleting file from workdir

Whenever I just delete any one file from the working directory, so that this is the only difference from the latest commit, the graph is wrong (version 3.1.3):

It shows me "uncommitted changes" not in relation to the latest commit, but to the one BEFORE.

The graph is correct, however, when there are just (or additionally) changes to files.

(gitk, for instance, still shows it correctly, so there seems to be nothing wrong with the database contents.)

Can anyone else confirm?

1 answer

0 votes
Mike Corsaro Atlassian Team Jul 02, 2019

Hello! This is a bit difficult to visualize -- could you post a screenshot to help me? Thanks!

Hello Mike,

here you are.

Thank you for looking into this.

Mike Corsaro Atlassian Team Jul 03, 2019

Odd -- if you click on the log row with "master" what's the commit SHA of that, and what is the parent commit SHA? Also, what's the commit sha of the "Fix compile warnings" row?

If you enable remote branches, does the graph end up looking right?

Hi Mike,

the attached screen shot should answer your questions.

For everything else:  just pick any project you like in SourceTree 3.1.3, go to the HEAD, (clean WD) and then REMOVE ANY ONE file from WD.  Worked for me for a number of projects, will likely work for you too -- and then you can see for yourself.

Thank you and kind regards!



Mike Corsaro Atlassian Team Jul 09, 2019

Ah, okay I've verified it locally and will file a bug. Thanks for walking me through this!

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,065 views 5 13
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