pretty diff highlighter; emphasis changed words in diff
APACHE-2.0 License
diff-highlight
: pretty diff highlighter; emphasis changed words in diff
diff-highlight adds word highlighting feature to git, mercurial and other diff viewers.
.. image:: https://travis-ci.org/tk0miya/diff-highlight.svg?branch=master :target: https://travis-ci.org/tk0miya/diff-highlight
.. image:: https://coveralls.io/repos/tk0miya/diff-highlight/badge.png?branch=master :target: https://coveralls.io/r/tk0miya/diff-highlight?branch=master
.. image:: https://codeclimate.com/github/tk0miya/diff-highlight/badges/gpa.svg :target: https://codeclimate.com/github/tk0miya/diff-highlight
Use easy_install or pip::
$ sudo easy_install diff-highlight
Or
$ sudo pip install diff-highlight
Add pager settings to your $HOME/.gitconfig to enable word highlights::
[pager] log = diff-highlight | less show = diff-highlight | less diff = diff-highlight | less
and to use diff-highlight for git add -p
::
[interactive] diffFilter = diff-highlight
Add color
and diff_highlight
extensions to your $HOME/.hgrc to enable word highlights::
[extensions] color = diff_highlight =
Apache License 2.0
(highlights/pprint.py
is under PSFL).