fix(git): graceful delta fallback when not installed
core.pager now checks for delta and falls back to less -R, avoiding errors in environments where delta is not available. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
|
||||
[core]
|
||||
autocrlf = input
|
||||
pager = delta
|
||||
pager = "command -v delta >/dev/null 2>&1 && delta || less -R"
|
||||
|
||||
[interactive]
|
||||
diffFilter = delta --color-only
|
||||
|
||||
Reference in New Issue
Block a user