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
|
__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
|
if [ -z "$(__git_find_subcommand "$subcommands")" ]; then
|
||||||
local cur="${COMP_WORDS[COMP_CWORD]}"
|
local cur="${COMP_WORDS[COMP_CWORD]}"
|
||||||
case "$cur" in
|
case "$cur" in
|
||||||
|
Loading…
Reference in New Issue
Block a user