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.1 (2013-12-22)

  • Fix diff-highlight command failed with python 2.4

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.1.tar.gz (10.0 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for diff-highlight-1.0.1.tar.gz
Algorithm Hash digest
SHA256 a236ca652627ae780c5bde116d5f015ec5bc54dd3d4030d92f086371157e0efd
MD5 e94c4c18deb830c60cd9f3054796cacc
BLAKE2b-256 5151972d2049ad4febce81a2c3d3803a558f5fdd304bab6112045c70b57415d0

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