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
File details
Details for the file diff-highlight-1.0.1.tar.gz
.
File metadata
- Download URL: diff-highlight-1.0.1.tar.gz
- Upload date:
- Size: 10.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a236ca652627ae780c5bde116d5f015ec5bc54dd3d4030d92f086371157e0efd |
|
MD5 | e94c4c18deb830c60cd9f3054796cacc |
|
BLAKE2b-256 | 5151972d2049ad4febce81a2c3d3803a558f5fdd304bab6112045c70b57415d0 |