1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-06-02 14:06:12 +02:00

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>
This commit is contained in:
Matthias Kestenholz 2008-08-28 10:57:55 +02:00 committed by Junio C Hamano
parent a1184d85e8
commit 1b0f7978dd

View File

@ -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