Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

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

Atlassian Community Events