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
4,365,244
Community Members
 
Community Events
168
Community Groups

Is possible in SourceTree to see "different" whitespaces in the diffs shown for the selected file?

Capture.PNG

[Update]

Changed title adding "different".

Suggestion. Some tools represent the space with a center point (• or ∙) or light-gray (░)
and tab with an arrow (→).

 

 

 

1 answer

5 votes

You can tell the diff to ignore differences in white space by clicking on the little gear icon to the right, but I'm not aware of a way to get it to actually show a visible representation of the white space, if that's what you're looking for (I can see where that might be handy)

Screen Shot 2016-01-08 at 11.01.34 AM.png

Seth Rising Star Jan 08, 2016

Yeah, I think he wants to identify what type of whitespace is involved. Looks like he already has the diff taking whitespace into account. I think 3rd party diff tools are necessary to display some sort of indication about what types of whitespace are involved (spaces vs tabs, trailing spaces, line endings).

That would be nice.. ;)

Really good idea -  worth implementing!

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events