зеркало из https://github.com/microsoft/git.git
Merge branch 'fw/complete-cmd-idx-fix'
Recent update to completion script (in contrib/) broke those who use the __git_complete helper to define completion to their custom command. * fw/complete-cmd-idx-fix: completion: bash: fix late declaration of __git_cmd_idx
This commit is contained in:
Коммит
a38c4c02e5
|
@ -3513,6 +3513,7 @@ fi
|
|||
__git_func_wrap ()
|
||||
{
|
||||
local cur words cword prev
|
||||
local __git_cmd_idx=0
|
||||
_get_comp_words_by_ref -n =: cur words cword prev
|
||||
$1
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче