OSDN Git Service
(root)
/
git-core
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1184d8
)
bash-completion: Add all submodule subcommands to the completion list
author
Matthias Kestenholz
<mk@spinlock.ch>
Thu, 28 Aug 2008 08:57:55 +0000
(10:57 +0200)
committer
Junio C Hamano
<gitster@pobox.com>
Fri, 29 Aug 2008 03:39:43 +0000
(20:39 -0700)
Signed-off-by: Matthias Kestenholz <mk@spinlock.ch>
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
89858c2
..
4f64f8a
100755
(executable)
--- a/
contrib/completion/git-completion.bash
+++ b/
contrib/completion/git-completion.bash
@@
-1483,7
+1483,7
@@
_git_submodule ()
{
__git_has_doubledash && return
- local subcommands="add status init update"
+ local subcommands="add status init update
summary foreach sync
"
if [ -z "$(__git_find_subcommand "$subcommands")" ]; then
local cur="${COMP_WORDS[COMP_CWORD]}"
case "$cur" in