diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-02-14 16:06:19 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-02-14 16:06:19 -0800 |
commit | b1bcb973af0c4d9aceffad43104bb2f4d406dd3b (patch) | |
tree | b1f80763fef2e2591f1cf2dc8cff52eb12370ea7 /contrib | |
parent | 6bdecc8f56a06f085b4444dc29361a5aa80d9eef (diff) | |
parent | 66c0786ca59ec2f281fe9c78521b79f8bccfc954 (diff) | |
download | git-b1bcb973af0c4d9aceffad43104bb2f4d406dd3b.tar.gz |
Merge branch 'mm/config-local-completion'
* mm/config-local-completion:
completion: support 'git config --local'
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/completion/git-completion.bash | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash index c8452fb163..059ba9d3e4 100644 --- a/contrib/completion/git-completion.bash +++ b/contrib/completion/git-completion.bash @@ -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 ;; @@ -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 |