Skip to content

Commit f0209e8

Browse files
committed
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
2 parents f3fec40 + 9cd4382 commit f0209e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/completion/git-completion.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2362,7 +2362,7 @@ _git_remote ()
23622362
__gitcomp_builtin remote_update
23632363
;;
23642364
update,*)
2365-
__gitcomp "$(__git_get_config_variables "remotes")"
2365+
__gitcomp "$(__git_remotes) $(__git_get_config_variables "remotes")"
23662366
;;
23672367
set-url,--*)
23682368
__gitcomp_builtin remote_set-url

0 commit comments

Comments
 (0)