projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eae7a75
)
completion: allow 'git remote' subcommand completion
author
Dan McGee
<dpmcgee@gmail.com>
Sun, 20 Apr 2008 19:34:07 +0000
(14:34 -0500)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 22 Apr 2008 06:32:09 +0000
(23:32 -0700)
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>
contrib/completion/git-completion.bash
patch
|
blob
|
history
diff --git
a/contrib/completion/git-completion.bash
b/contrib/completion/git-completion.bash
index 4d81963b1d00b1b4e874330a9e5933111f491def..fd654bdc9c97c59e9ba0d0164952d40188cbfea7 100755
(executable)
--- 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