git📟 Add tags and stashes to search pattern

For example when viewing tags (to start from the start of the file) or
listing stashes with `git stash list -u`.
This commit is contained in:
2021-02-18 02:13:40 +01:00
parent e71150fa5e
commit 2564c7540f

View File

@@ -11,7 +11,7 @@
added = 076
untracked = 014
[core]
pager = diff-so-fancy | less --tabs=8 -Rg -+FX -p'^(commit|added|deleted|modified|renamed|(Submodule .* [a-f0-9]+[.]+[a-f0-9]+))[: ]'
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]+}))[: ]'
excludesfile = ~/.config/git/ignore
[alias]
root = rev-parse --show-toplevel