Fixed bug in git-ignore which ignored config core.excludeFiles

This commit is contained in:
Tobias Fendin 2021-12-29 14:33:28 +01:00
parent 2370a4e27b
commit 6b0ef19caf

View file

@ -12,7 +12,7 @@ function show_contents {
}
function global_ignore() {
git config --global core.excludesile || \
git config --global core.excludesFile || \
([ -n "$XDG_CONFIG_HOME" ] && echo "$XDG_CONFIG_HOME/git/ignore") || \
echo "$HOME/.config/git/ignore"
}