Skip to content

Commit 6b0ef19

Browse files
committed
Fixed bug in git-ignore which ignored config core.excludeFiles
1 parent 2370a4e commit 6b0ef19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/git-ignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ function show_contents {
1212
}
1313

1414
function global_ignore() {
15-
git config --global core.excludesile || \
15+
git config --global core.excludesFile || \
1616
([ -n "$XDG_CONFIG_HOME" ] && echo "$XDG_CONFIG_HOME/git/ignore") || \
1717
echo "$HOME/.config/git/ignore"
1818
}

0 commit comments

Comments
 (0)