Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
completion: complete remote names too
author
Łukasz Stelmach
<l.stelmach@samsung.com>
Fri, 25 May 2018 10:48:42 +0000
(12:48 +0200)
committer
Junio C Hamano
<gitster@pobox.com>
Fri, 1 Jun 2018 01:44:29 +0000
(10:44 +0900)
"git remote update" accepts both groups and single remotes.
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
Reviewed-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
fc54c1a
)
diff --git
a/contrib/completion/git-completion.bash
b/contrib/completion/git-completion.bash
index b09c8a23626b431a0cb97f6f7f930cccce25bf07..a42991586b555dfabf7aeeb1c73a4a9d5209e623 100644
(file)
--- a/
contrib/completion/git-completion.bash
+++ b/
contrib/completion/git-completion.bash
@@
-2631,7
+2631,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