mirror of
https://github.com/sharkdp/bat.git
synced 2026-10-30 10:06:12 +00:00
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:
1 parent
0064321323
commit
82e7786e74
7 files changed
+145
-36
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user