Skip to content

Commit

Permalink
Merge branch 'mm/config-local-completion'
Browse files Browse the repository at this point in the history
* mm/config-local-completion:
  completion: support 'git config --local'
  • Loading branch information
Junio C Hamano committed Feb 15, 2013
2 parents 6bdecc8 + 66c0786 commit b1bcb97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contrib/completion/git-completion.bash
Original file line number Diff line number Diff line change
Expand Up @@ -1779,7 +1779,7 @@ __git_config_get_set_variables ()
while [ $c -gt 1 ]; do
word="${words[c]}"
case "$word" in
--global|--system|--file=*)
--system|--global|--local|--file=*)
config_file="$word"
break
;;
Expand Down Expand Up @@ -1885,7 +1885,7 @@ _git_config ()
case "$cur" in
--*)
__gitcomp "
--global --system --file=
--system --global --local --file=
--list --replace-all
--get --get-all --get-regexp
--add --unset --unset-all
Expand Down

0 comments on commit b1bcb97

Please sign in to comment.