mirror of
https://github.com/git/git.git
synced 2024-11-25 10:54:00 +08:00
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>
This commit is contained in:
parent
fc54c1af3e
commit
9cd4382ad5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user