git.99rst.org
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
fc54c1a
)
completion: complete remote names too
author
Łukasz Stelmach
<redacted>
Fri, 25 May 2018 10:48:42 +0000
(12:48 +0200)
committer
Junio C Hamano
<redacted>
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 <redacted>
Reviewed-by: Nguyễn Thái Ngọc Duy <redacted>
Signed-off-by: Junio C Hamano <redacted>
contrib/completion/git-completion.bash
patch
|
blob
|
history
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
git clone https://git.99rst.org/PROJECT