зеркало из https://github.com/microsoft/git.git
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:
Родитель
a1184d85e8
Коммит
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
|
||||
|
|
Загрузка…
Ссылка в новой задаче