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:
commit
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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user