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

Wrong graph after just deleting file from workdir

MKr
Contributor
June 29, 2019

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
Atlassian Team members are employees working across the company in a wide variety of roles.
July 2, 2019

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

MKr
Contributor
July 3, 2019

Hello Mike,

here you are.

Thank you for looking into this.

MKr
Contributor
July 3, 2019

SourceTree_sees_this.jpggitk_sees_this.jpg

Mike Corsaro
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 3, 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?

MKr
Contributor
July 4, 2019

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!

SourceTree_sees_this_with_SHAs.jpg

 

Mike Corsaro
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 9, 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
TAGS
AUG Leaders

Atlassian Community Events