Skip to content

Commit

Permalink
bash-completion: Add all submodule subcommands to the completion list
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Kestenholz <mk@spinlock.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Matthias Kestenholz authored and Junio C Hamano committed Aug 29, 2008
1 parent a1184d8 commit 1b0f797
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/completion/git-completion.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1b0f797

Please sign in to comment.