1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-09-04 20:32:27 +01:00

Update documentation for git diff

This commit is contained in:
HE7086
2024-08-14 06:56:36 +02:00
committed by Martin Nordholts
parent 7c8e2324ab
commit 9b580c7a98
3 changed files with 3 additions and 3 deletions

View File

@@ -150,7 +150,7 @@ git show v0.6.0:src/main.rs | bat -l rs
```bash
batdiff() {
git diff --name-only --diff-filter=d | xargs bat --diff
git diff --name-only --diff-filter=d -z | xargs --null bat --diff
}
```