Browse Source

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>
maint
Matthias Kestenholz 17 years ago committed by Junio C Hamano
parent
commit
1b0f7978dd
  1. 2
      contrib/completion/git-completion.bash

2
contrib/completion/git-completion.bash

@ -1483,7 +1483,7 @@ _git_submodule () @@ -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

Loading…
Cancel
Save