Commit 2a13379
committed
textproc/bat: Updates to 0.15.0
Changes since 0.14.0:
Features
* This release adds a new --diff/-d 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
* Error message printed in the middle of the output for another file, see #946
* Performance improvements when using custom caches (via bat cache --build): the
bat startup time should now be twice as fast (@lzutao).
Themes
* Updated version of the Solarized dark/light themes, see #941
bat as a library
* There are a few changes in the "low level" API (the Config struct has changed and
the error handler needs a new &mut dyn Write argument). The high-level API is not
affected.1 parent ac22d37 commit 2a13379
2 files changed
+7
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| |||
0 commit comments