Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'mm/config-local-completion'
author
Junio C Hamano
<gitster@pobox.com>
Fri, 15 Feb 2013 00:06:19 +0000
(16:06 -0800)
committer
Junio C Hamano
<gitster@pobox.com>
Fri, 15 Feb 2013 00:06:19 +0000
(16:06 -0800)
* mm/config-local-completion:
completion: support 'git config --local'
contrib/completion/git-completion.bash
patch
|
blob
|
history
raw
(from parent 1:
6bdecc8
)
diff --git
a/contrib/completion/git-completion.bash
b/contrib/completion/git-completion.bash
index c8452fb163c6bf75f01ba8b06ded2b8d82143e21..059ba9d3e482c08434fb6860667179a6b73808cd 100644
(file)
--- 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