Skip to main content

pretty diff highlighter; emphasis changed words in diff

Project description

diff-highlight: pretty diff highlighter; emphasis changed words in diff

This mercurial extension adds word highlights to every diff outputs. Features ======== * Add highlights to diff output * mercurial extension for diff highlighting

Setup

Use easy_install or pip:

$ sudo easy_install diff-highlight

Or

$ sudo pip diff-highlight

Applying to git

Add pager settings to your $HOME/.gitconfig to enable word highlights:

[pager]
    log = diff-highlight | less
    show = diff-highlight | less
    diff = diff-highlight | less

Applying to mercurial

Add color and diff_highlight extensions to your $HOME/.hgrc to enable word highlights:

[extensions]
color =
diff_highlight =

Requirements

  • Python 2.4, 2.5, 2.6, 2.7, 3.2, 3.3 (mercurial extension works on python 2.x only)

License

Apache License 2.0 (highlights/pprint.py is under PSFL)

History

1.0.0 (2013-12-22)

  • Add diff-highlight command

  • Support python 2.4, 2.5, 3.2 and 3.3

0.1.0 (2013-12-20)

  • first release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

diff-highlight-1.0.0.tar.gz (9.9 kB view details)

Uploaded Source

File details

Details for the file diff-highlight-1.0.0.tar.gz.

File metadata

File hashes

Hashes for diff-highlight-1.0.0.tar.gz
Algorithm Hash digest
SHA256 19d827b206918f7f21fccfe910b55d096727f510c8049e628bc166eba574723b
MD5 b51f1c5cffd7ee8f6e00e31306fe5b20
BLAKE2b-256 ed272ab4a74cf62c99f216b67fc02a76aba46bf8e041a6aeb8fce4c782fc21dd

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page