From 52bab63e188b3dbd680c5e50054398fe61521a2c Mon Sep 17 00:00:00 2001 From: Tejinder Singh <35347971+torqu3e@users.noreply.github.com> Date: Thu, 5 May 2022 14:27:52 -0400 Subject: Add `--relative` to `batdiff` in README.md (#2172) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 63b57897..cd849f4a 100644 --- a/README.md +++ b/README.md @@ -171,7 +171,7 @@ You can combine `bat` with `git diff` to view lines around code changes with pro highlighting: ```bash batdiff() { - git diff --name-only --diff-filter=d | xargs bat --diff + git diff --name-only --relative --diff-filter=d | xargs 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). -- cgit v1.2.3