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 <dpmcgee@gmail.com> Acked-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Dan McGee committed
Apr 20, 2008 at 14:34 UTC
3903c6189d0d596a0fef47edab437aa047e812fa
1 file changed
+1
contrib/completion/git-completion.bash
+1
@@ -1052,6 +1052,7 @@ _git_remote ()
1052
local subcommands="add rm show prune update"
1053
local subcommand="$(__git_find_subcommand "$subcommands")"
1054
if [ -z "$subcommand" ]; then
1055
+ __gitcomp "$subcommands"
1056
return
1057
fi
1058