@matheusbsbs / matheus-bagliano / commits / 1b0f7978dd
Fork 0

bash-completion: Add all submodule subcommands to the completion list

Signed-off-by: Matthias Kestenholz <mk@spinlock.ch> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Matthias Kestenholz committed Aug 28, 2008 at 10:57 UTC 1b0f7978ddb9e2ed4437ce68a4b82ab831288a41
1 file changed +1 -1
contrib/completion/git-completion.bash
+1 -1
@@ -1483,7 +1483,7 @@ _git_submodule ()
1483 {
1484 __git_has_doubledash && return
1485
1486 - local subcommands="add status init update"
1486 + local subcommands="add status init update summary foreach sync"
1487 if [ -z "$(__git_find_subcommand "$subcommands")" ]; then
1488 local cur="${COMP_WORDS[COMP_CWORD]}"
1489 case "$cur" in