X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=contrib%2Fcompletion%2Fgit-completion.bash;h=1496c6dc05822d3009aaf7d88cc5a66dfca9ea23;hb=f15026b514a9fd7eac31313466345c9fae649afc;hp=b0062bac22347e42dd64047c51dfb2bff92243ef;hpb=733137496aee6b74e49bd74d342efce8a3d2e95e;p=git.git diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash index b0062bac2..1496c6dc0 100755 --- a/contrib/completion/git-completion.bash +++ b/contrib/completion/git-completion.bash @@ -2631,6 +2631,10 @@ _git () # workaround zsh's bug that leaves 'words' as a special # variable in versions < 4.3.12 typeset -h words + + # workaround zsh's bug that quotes spaces in the COMPREPLY + # array if IFS doesn't contain spaces. + typeset -h IFS fi local cur words cword prev @@ -2687,6 +2691,10 @@ _gitk () # workaround zsh's bug that leaves 'words' as a special # variable in versions < 4.3.12 typeset -h words + + # workaround zsh's bug that quotes spaces in the COMPREPLY + # array if IFS doesn't contain spaces. + typeset -h IFS fi local cur words cword prev