Implementation of 'bat --diff'

This adds a new `--diff` option that can be used to only show lines
close to Git changes (added/removed/modified lines). The amount of
additional context can be controlled with `--diff-context=N`.

closes #23
This commit is contained in:
sharkdp authored and David Peter committed 2020-04-24 09:57:57 +02:00
1 parent 0064321323
commit 82e7786e74
7 files changed
+145 -36

No files matched your search

+5
View File
@@ -2,6 +2,11 @@
## Features
- Add a new `--diff` option that can be used to only show lines surrounding
Git changes, i.e. added, removed or modified lines. The amount of additional
context can be controlled with `--diff-context=N`. See #23 and #940
## Bugfixes
## Other
## `bat` as a library