Intraline diffs with SourceTree

I like SourceTree and I use it with git.

I need to see intra-line diffs, i.e., diffs within a line. Currently, SourceTree only shows that the whole line has changed via a new line/removed line diff, which is not useful to me.

For example, if I change

Here is a bit of text.

to

Here is a lot of text.

the diff shown by SourceTree is

- Here is a bit of text.

+ Here is a lot of text.

That is not useful to me. I want the diff to highlight just (or also) the highlighted words within the line as in:

- Here is a *bit* of text.

+ Here is a *lot* of text.

I've used * to indicate highlighting of some sort (e.g. color or bold).

How do I turn this on or when can you add this to your product?

I am using SourceTree 1.7.4.1 on OS X 10.8.5 and git 1.8.3.4. SourceTree is setup with default options, which means that the visual diff tool is FileMerge.

Thanks!

1 answer

0 vote
Timothy Chin Community Champion Dec 08, 2013

You might want to raise a feature request here (https://jira.atlassian.com/issues/?jql=project%20in%20(SRCTREE%2C%20SRCTREEWIN)).

I also resorted to getting an external tool that would do that.

Thanks Timothy. Which external tool are you using and does it work on OS X?

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Tuesday in Uncategorized

Friday fun: how many celebrates Midsummer holiday or is this a Swedish tradition only?

Any other country that celebrates Midsummer holiday (this friday 22 June)?  

36 views 3 1
Join discussion

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