git:core.pager: Remove the search pattern

This gets really annoying as it complains in many cases that it cannot
find a match for the pattern when the pager is used for other things
than commits.
This commit is contained in:
2022-02-03 18:59:00 +01:00
parent 54d716510b
commit 17433d0528

View File

@@ -19,7 +19,7 @@
[core] [core]
abbrev = 12 abbrev = 12
excludesfile = ~/.config/git/ignore excludesfile = ~/.config/git/ignore
pager = diff-so-fancy | less --tabs=8 -Rg -+FX -p'^(commit|added|deleted|modified|renamed|tag|(Submodule .* [a-f0-9]+[.]+[a-f0-9]+)|(stash@{[0-9]+}))[: ]' pager = diff-so-fancy | less --tabs=8 -Rg -+FX
[diff] [diff]
submodule = log submodule = log
tool = nvimdiff tool = nvimdiff