Source Tree sees too many differences

Recently Source Tree has been going a bit mental

It see changes on lines that are “exactly” the same,

Hunk is same

 

and I didn’t want my commits to start getting messy when I can see there are no changes.

However, I realised this might be a LAMP stack developers way of looking at things, because I found a setting which changed it all…

Show whitespace

SourceTree is showing the differences in whitespace too, which is a very Python thing to care about. So, I turned it off, as whitespace doesn’t matter in PHP and boom… loads of hunks which aren’t changed have disappeared

 

Author: Dan Course

Dan Course, E-Learning Development at Warwick University (WMG). Agile Scrum trained and full-stack development. Interested in E-learning, Democracy, Politics and Tech. All thoughts are mine and not of my employer.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s