Intraline diffs with SourceTree

Joel Shapiro December 7, 2013

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 votes
Timothy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 8, 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.

Joel Shapiro December 9, 2013

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
TAGS
AUG Leaders

Atlassian Community Events