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:
parent
a1184d85e8
commit
1b0f7978dd
|
@ -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…
Reference in New Issue