We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dad4277 commit 1a0c9a3Copy full SHA for 1a0c9a3
contrib/completion/git-completion.bash
@@ -2608,11 +2608,9 @@ _git ()
2608
if [[ -n ${ZSH_VERSION-} ]]; then
2609
emulate -L bash
2610
setopt KSH_TYPESET
2611
- else
2612
- local words
2613
fi
2614
2615
- local cur cword prev
+ local cur words cword prev
2616
_get_comp_words_by_ref -n =: cur words cword prev
2617
while [ $c -lt $cword ]; do
2618
i="${words[c]}"
@@ -2661,11 +2659,9 @@ _gitk ()
2661
2659
2662
2660
2663
2664
2665
2666
2667
2668
2669
2670
2671
__git_has_doubledash && return
0 commit comments