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

Next challenges

Recent achievements

Recognition

  • Give kudos
  • My kudos

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Diff shows against random commit

I've had this problem for months, if not years, and usually just work around it. I don't know if it's confusing UX (aka user error) or a bug.

 

What happens

- I click on one of my branches in the left hand pane to see the graph view

- I click on one of the commits in the graph to see the diff

- I expect this to be the diff showing what changed in that particular commit vs its parent

- Sometimes it instead shows me the diff against a random different commit. I can't replicate it deliberately, but it's a fairly common occurrence (multiple times a week probably)

- The only workaround I've found is to toggle the "Show remote branches" tickbox (usually on) to refresh things and then it resumes behaving as I expect. Once it's "fixed" I believe it stays in this stage for the rest of my sourcetree session.

 

Is this an intentional feature? If so, how am I supposed to turn it off or change the SHA it does the diff from? Am I inadvertently getting into a different UI state? I can't see any options that relate to this, and nothing changed between the screenshots except for toggling off/on the "Show remote branches" option

 

Screenshots

The first screenshot below shows the 'correct' behaviour after toggling "Show remote branches". The second shows the unexpected diff against 50c952766. This SHA is not HEAD, or any branch pointer, or any other special commit. It's a random commit from my history.

 

Unexpected behaviour:

SourceTreeBorked.PNG

 

Correct behaviour:

SourceTreeOkay.PNG

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Sourcetree

Sourcetree for Windows - CVE-2019-11582 - Remote Code Execution vulnerability

A vulnerability has been published today in regards to Sourcetree for Windows.  The goal of this article is to give you a summary of information we have gathered from Atlassian Community as a st...

5,271 views 0 12
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