Skip to content

Commit 1ddc11a

Browse files
committed
Merge branch 'bc/completion-for-bash-3.0'
* bc/completion-for-bash-3.0: git-completion.bash: replace zsh notation that breaks bash 3.X
2 parents 8f6a3e5 + e78095c commit 1ddc11a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/completion/git-completion.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2581,7 +2581,7 @@ if [[ -n ${ZSH_VERSION-} ]]; then
25812581
--*=*|*.) ;;
25822582
*) c="$c " ;;
25832583
esac
2584-
array+=("$c")
2584+
array[$#array+1]="$c"
25852585
done
25862586
compset -P '*[=:]'
25872587
compadd -Q -S '' -p "${2-}" -a -- array && _ret=0

0 commit comments

Comments
 (0)