diff options
author | Łukasz Stelmach <l.stelmach@samsung.com> | 2018-05-25 12:48:42 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-06-01 10:44:29 +0900 |
commit | 9cd4382ad56e9d7557e57ab1d85970a2702fd3e7 (patch) | |
tree | eafc50548e8694e4d0a83d26355968306c3f8df3 /contrib/completion/git-completion.bash | |
parent | Git 2.17.1 (diff) | |
download | tgif-9cd4382ad56e9d7557e57ab1d85970a2702fd3e7.tar.xz |
completion: complete remote names too
"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>
Diffstat (limited to 'contrib/completion/git-completion.bash')
-rw-r--r-- | contrib/completion/git-completion.bash | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash index b09c8a2362..a42991586b 100644 --- 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 |