From: Junio C Hamano Date: Mon, 25 Jun 2018 20:22:39 +0000 (-0700) Subject: Merge branch 'ls/complete-remote-update-names' X-Git-Tag: v2.19.0-rc0~185 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/f0209e80cf4468653e7730881b4c5bdb5fc7389a?hp=f3fec40e8d8798e5313f05a9273aef932fe4519e Merge branch 'ls/complete-remote-update-names' "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 --- diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash index dc2b04603d..bc31e8973b 100644 --- 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