From 6b0ef19caf06b034a86789bc09b83cb4c99a3c45 Mon Sep 17 00:00:00 2001 From: Tobias Fendin Date: Wed, 29 Dec 2021 14:33:28 +0100 Subject: [PATCH] Fixed bug in git-ignore which ignored config core.excludeFiles --- bin/git-ignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/git-ignore b/bin/git-ignore index d19b44f..79b545e 100755 --- a/bin/git-ignore +++ b/bin/git-ignore @@ -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" }