Create
cancel
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

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

12 answers

What sort of files are you diffing?

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

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

2) Version is 1.8.2.3

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


Regards, Fred

  

  • SRCTREEWIN-4729 Ensure Diff shows all lines.

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 = 1.8.2.3.

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

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

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.

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

Hi Bill,

 

  Where is gear menu?

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

Suggest an answer

Log in or Sign up to answer
TAGS
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...

5,769 views 4 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