Pretty side-by-side diff
Project description
pdiff
Pretty side-by-side diff.
Installation
pip install pdiff
Usage
usage: pdiff [<options>] [--] <old file> <new file>
Pretty side-by-side diff
optional arguments:
-h, --help show this help message and exit
-t <n>, --expand-tabs <n>
expand tabs to <n> spaces; default: 8
-S, --signs, --no-signs
show sign columns; default: True
-U <n>, --unified <n>
show <n> lines of context; default: 3
-v, --version show program's version number and exit
-W <n>, --width <n> fit output to <n> columns; default: autodetect
Git
Configure a pdiff
difftool
, and add some aliases to your liking, e.g.:
[difftool.pdiff]
cmd = "pdiff -- \"$LOCAL\" \"$REMOTE\" | less -R"
[alias]
dfp = difftool --tool=pdiff
dfpc = difftool --tool=pdiff --cached
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pdiff-1.0.3.tar.gz
(4.8 kB
view hashes)
Built Distribution
Close
Hashes for pdiff-1.0.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a7a2c4af7f13d88fa028d0e9ff6df922f8f5e8aef14a22a396feb732db9c7ad |
|
MD5 | e897d2958a2dbe195370f896a5db39b0 |
|
BLAKE2b-256 | 9e21ff2466290c0a2b0ce868132c2c3e917ecc164a73bda704ea574aa0965bf9 |