Hi Yanjie! SourceTree does not highlight the spaces in the diff-view, it can show you the lines where whitespaces have been modified, but will not highlight them.
If you'd like to have that option available,you're welcome to submit a Feature request at jira.atlassian.com, by clicking on Create. This will be available publicly so other users can vote for it and add their comments.
Hope this helps :)
Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...
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