pretty diff highlighter; emphasis changed words in diff
Project description
diff-highlight: pretty diff highlighter; emphasis changed words in diff
diff-highlight adds word highlighting feature to git, mercurial and other diff viewers.
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, 3.4 (mercurial extension works on python 2.x only)
License
Apache License 2.0 (highlights/pprint.py is under PSFL)
History
1.0.3 (2015-03-30)
Ignore IOError on showing result
1.0.2 (2014-06-08)
Fix result of diff-highlight commannd is broken when diff-text includes new file (thanks @troter)
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
Built Distribution
File details
Details for the file diff-highlight-1.0.3.tar.gz
.
File metadata
- Download URL: diff-highlight-1.0.3.tar.gz
- Upload date:
- Size: 10.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 247bfea7e664d927042d099aa050af89d89b792f5bf19ef30fd353b5abffe107 |
|
MD5 | c44ef402ad28eb4f8d02812b444f96e0 |
|
BLAKE2b-256 | c74fc3952ded163c4f3a2313afd011a3c06089212df61df8c63c6633c4fbe43a |
File details
Details for the file diff_highlight-1.0.3-py2.py3-none-any.whl
.
File metadata
- Download URL: diff_highlight-1.0.3-py2.py3-none-any.whl
- Upload date:
- Size: 9.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba230ed6dd3871799c845b68b28ee043e35976c2a559f6cc67671d20f95ab3e5 |
|
MD5 | 769e595e1e6f3f652ba65099048bc654 |
|
BLAKE2b-256 | 780fa600183559a32ea8f13232422d7c6b2956b320a846b0aa9fc65480675ecf |