From: Dan McGee Date: Sun, 20 Apr 2008 19:34:07 +0000 (-0500) Subject: completion: allow 'git remote' subcommand completion X-Git-Tag: v1.5.6-rc0~129 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3903c6189d0d596a0fef47edab437aa047e812fa;p=git.git completion: allow 'git remote' subcommand completion After typing 'git remote ', the subcommand options were not shown. Fix it by adding the missing __gitcomp call. Signed-off-by: Dan McGee Acked-by: Shawn O. Pearce Signed-off-by: Junio C Hamano --- diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash index 4d81963b1..fd654bdc9 100755 --- a/contrib/completion/git-completion.bash +++ b/contrib/completion/git-completion.bash @@ -1052,6 +1052,7 @@ _git_remote () local subcommands="add rm show prune update" local subcommand="$(__git_find_subcommand "$subcommands")" if [ -z "$subcommand" ]; then + __gitcomp "$subcommands" return fi