Why diff not showing

I see that a files is marked as modified but it doesn't show the difference. Is there any way to configure the sourcetree that if timestamp of a file is different not show it as modified?


Regards, Fred

11 answers

Rule out the simple answer.... Under the gear menu, is Ignore whitespace enabled?

Hi Bill,


  Where is gear menu?

right hand side, above the differences window, next to the search box (on windows).

As Bill said, most likely a change in whitespace.  However my experience is that even with "Ignore white space" enabled, SourceTree will still list the file as changed - it will just no longer highlight the actual lines that changed.

Yeah I found it but and set to ignore white space but still the same issue. I do a behind compare and I don't see any differences and maybe that's why when I click on the modified file nothing shows up in difference window but still is mark as modified??


Regards, Fred

With "ignore whitespace' disabled, does it show any (or potentially all) lines that are changed (even though both versions may appear the same)?

Ignore white space only prevents white space changes from appearing in the Diff panel.  It won't actually remove it from the list of files.  

With only whitespace changes, and Ignore enabled, you get the result described in the orginal post.   If you disable ignore, you should see the modified lines in the Diff panel.

What version of SourceTree are you using.  I believe there were some bugs with whitespace handling in the initial release of the recent overhaul.  Current V =

  • SRCTREEWIN-4729 Ensure Diff shows all lines.

Hi Bill, I am new to your tool ...

1) How to I set RCTREEWIN-4729 Ensure Diff shows all lines.

2) Version is

I have been discarding the modified files since nothing show up in difference window,,,Is this an good idea?

Regards, Fred


What sort of files are you diffing?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 23, 2018 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...

1,229 views 4 2
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you