aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorDan McGee <dpmcgee@gmail.com>2008-04-20 14:34:07 -0500
committerJunio C Hamano <gitster@pobox.com>2008-04-21 23:32:09 -0700
commit3903c6189d0d596a0fef47edab437aa047e812fa (patch)
tree7fe46f13839669b56193ef45e85a474b42d14aa8 /contrib
parenteae7a75904f9634736ff622be9d1c1e5f5567c27 (diff)
downloadgit-3903c6189d0d596a0fef47edab437aa047e812fa.tar.gz
git-3903c6189d0d596a0fef47edab437aa047e812fa.tar.xz
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>
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/completion/git-completion.bash1
1 files changed, 1 insertions, 0 deletions
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