diff options
author | Fabian Wermelinger <fabianw@mavt.ethz.ch> | 2021-06-18 16:02:57 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-06-19 15:30:35 +0900 |
commit | cea232194d4da32696df26f9b5ad00d5624621db (patch) | |
tree | 46140655549f66d32a4850f11d489781ce4ea2e1 /t/t0410-partial-clone.sh | |
parent | git-completion.bash: consolidate cases in _git_stash() (diff) | |
download | tgif-cea232194d4da32696df26f9b5ad00d5624621db.tar.xz |
completion: bash: fix late declaration of __git_cmd_idx
A recent update to contrib/completion/git-completion.bash causes bash to fail
auto complete custom commands that are wrapped with __git_func_wrap. Declaring
__git_cmd_idx=0 inside __git_func_wrap resolves the issue.
Signed-off-by: Fabian Wermelinger <fabianw@mavt.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t0410-partial-clone.sh')
0 files changed, 0 insertions, 0 deletions