Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'ls/complete-remote-update-names'
author
Junio C Hamano
<gitster@pobox.com>
Mon, 25 Jun 2018 20:22:39 +0000
(13:22 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 25 Jun 2018 20:22:39 +0000
(13:22 -0700)
"git remote update" can take both a single remote nickname and a
nickname for remote groups, and the completion script (in contrib/)
has been taught about it.
* ls/complete-remote-update-names:
completion: complete remote names too
contrib/completion/git-completion.bash
patch
|
blob
|
history
raw
(from parent 1:
f3fec40
)
diff --git
a/contrib/completion/git-completion.bash
b/contrib/completion/git-completion.bash
index dc2b04603dddd274433c6fb34582bba0142f52d1..bc31e8973b25a8609fd9a6cb5eb4279de3eb332d 100644
(file)
--- a/
contrib/completion/git-completion.bash
+++ b/
contrib/completion/git-completion.bash
@@
-2362,7
+2362,7
@@
_git_remote ()
__gitcomp_builtin remote_update
;;
update,*)
- __gitcomp "$(__git_get_config_variables "remotes")"
+ __gitcomp "$(__git_
remotes) $(__git_
get_config_variables "remotes")"
;;
set-url,--*)
__gitcomp_builtin remote_set-url