Skip to content

Commit f2682a7

Browse files
committedAug 29, 2018
add comparison to git diff
1 parent 1160dba commit f2682a7

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed
 

‎README.md

+7
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,18 @@ The main focus is improving the readability of the diff output. The main changes
88
- Short lines are neglected, reducing wrong line matches, with for example only brackets.
99
- Blocks with changes are interleaved, making it easer to see line differences.
1010
- In colored diff output the unchanged parts of changed lines are displayed in gold.
11+
- Changes in indentation have colored background.
1112

1213
## Example
1314

1415
![example](https://github.com/pierstitus/klondiff/blob/master/example.png)
1516

17+
Comparison of commit c07c0923 of this repository:
18+
19+
![comparison](https://github.com/pierstitus/klondiff/blob/master/comparison.png)
20+
21+
As you can see the resulting diff is not necessarily smaller, though it is more true to the real changes.
22+
1623
## Install
1724

1825
Clone this repo somewhere, and make symlinks to klondiff and git-klondiff in your ~/bin.

‎comparison.png

42.3 KB
Loading

0 commit comments

Comments
 (0)
Please sign in to comment.