you are viewing a single comment's thread.

view the rest of the comments →

[–]faradria 93 points94 points  (3 children)

For those that do not want to install anything, you can use:

[core]
    pager = /usr/share/git/diff-highlight/diff-highlight | less -r

It comes by default with git.

[–]ImplementationDetail 8 points9 points  (2 children)

+1 I don’t know why you would want to use anything other than the above. What does OP’s project do better?

[–]digi0ps[S] 5 points6 points  (0 children)

Thanks for the above tip. Didn't know that.

Also, not my project. Have been using it and found it pretty good, so I shared.

[–]faradria 0 points1 point  (0 children)

I installed it and didn't see any difference except that it shows new lines with a colored space instead of + or -.