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 2bcf694 commit 734b2f0Copy full SHA for 734b2f0
contrib/completion/git-completion.bash
@@ -2663,7 +2663,7 @@ if [[ -n ${ZSH_VERSION-} ]]; then
2663
--*=*|*.) ;;
2664
*) c="$c " ;;
2665
esac
2666
- array[$#array+1]="$c"
+ array+=("$c")
2667
done
2668
compset -P '*[=:]'
2669
compadd -Q -S '' -p "${2-}" -a -- array && _ret=0
@@ -2696,7 +2696,7 @@ if [[ -n ${ZSH_VERSION-} ]]; then
2696
prev=${words[CURRENT-1]}
2697
let cword=CURRENT-1
2698
emulate ksh -c __${service}_main
2699
- let _ret && _default -S '' && _ret=0
+ let _ret && _default && _ret=0
2700
return _ret
2701
}
2702
0 commit comments