diff options
| author | Junio C Hamano <gitster@pobox.com> | 2018-06-25 13:22:39 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2018-06-25 13:22:39 -0700 |
| commit | f0209e80cf4468653e7730881b4c5bdb5fc7389a (patch) | |
| tree | e14570ac788159987505b0f648398ef0d91c2b74 | |
| parent | Merge branch 'ag/rebase-p' (diff) | |
| parent | completion: complete remote names too (diff) | |
| download | git-f0209e80cf4468653e7730881b4c5bdb5fc7389a.tar.gz git-f0209e80cf4468653e7730881b4c5bdb5fc7389a.zip | |
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
| -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 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 |
