forked from jeffkaufman/icdiff
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
46 lines (34 loc) · 1.71 KB
/
Copy pathREADME
File metadata and controls
46 lines (34 loc) · 1.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
Installation: Put 'icdiff' on your PATH.
Usage: icdiff [options] left_file right_file
Show differences between files in a two column view.
Options:
-h, --help show this help message and exit
--cols=COLS specify the width of the screen. Autodetection is Linux
only
--head=HEAD consider only the first N lines of each file
--highlight color by changing the background color instead of the
foreground color. Very fast, ugly, displays all
changes
--line-numbers generate output with line numbers
--no-bold use non-bold colors; recommended for with solarized
--no-headers don't label the left and right sides with their file
names
--numlines=NUMLINES how many lines of context to print; can't be combined
with --whole-file
--recursive recursively compare subdirectories
--show-all-spaces color all non-matching whitespace including that which
is not needed for drawing the eye to changes. Slow,
ugly, displays all changes
--version print version and exit
--whole-file show the whole file instead of just changed lines and
context
Using with git:
To see what it looks like, try:
git difftool --extcmd icdiff
To install this as a tool you can use with git, copy
git-icdiff onto your path and run:
git icdiff
License:
This file is derived from difflib.HtmlDiff which is under the license:
http://www.python.org/download/releases/2.6.2/license/
I release my changes here under the same license. This is GPL compatible.