Merge 03e1ac37c9e03e59fba5138dc6e90f47f87bf86e into debb66f8b0c7b7cbef7c57b5ffebbf0643bf6717

This commit is contained in:
HE7086 2025-04-12 23:24:37 +02:00 committed by GitHub
commit cbc8539d63
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -170,7 +170,7 @@ You can combine `bat` with `git diff` to view lines around code changes with pro
highlighting: highlighting:
```bash ```bash
batdiff() { batdiff() {
git diff --name-only --relative --diff-filter=d | xargs bat --diff git diff --name-only --relative --diff-filter=d -z | xargs --null bat --diff
} }
``` ```
If you prefer to use this as a separate tool, check out `batdiff` in [`bat-extras`](https://github.com/eth-p/bat-extras). If you prefer to use this as a separate tool, check out `batdiff` in [`bat-extras`](https://github.com/eth-p/bat-extras).

View File

@ -163,7 +163,7 @@ git show v0.6.0:src/main.rs | bat -l rs
볼 수 있습니다: 볼 수 있습니다:
```bash ```bash
batdiff() { batdiff() {
git diff --name-only --diff-filter=d | xargs bat --diff git diff --name-only --diff-filter=d -z | xargs --null bat --diff
} }
``` ```
이것을 별도의 도구로 쓰고 싶다면 이것을 별도의 도구로 쓰고 싶다면

View File

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