summaryrefslogtreecommitdiff
path: root/contrib/hooks/multimail/README.Git
diff options
context:
space:
mode:
authorFelipe Contreras <felipe.contreras@gmail.com>2021-08-16 09:10:25 (GMT)
committerJunio C Hamano <gitster@pobox.com>2021-08-18 18:17:26 (GMT)
commitbe6444d1ca96fdd702b383de860e243aa7e65619 (patch)
tree50f85c6cce178db17842658bfd00ced1f84eafe7 /contrib/hooks/multimail/README.Git
parentf3cc916acc2e0f92c05e07c82c83b370e7d31247 (diff)
downloadgit-be6444d1ca96fdd702b383de860e243aa7e65619.zip
git-be6444d1ca96fdd702b383de860e243aa7e65619.tar.gz
git-be6444d1ca96fdd702b383de860e243aa7e65619.tar.bz2
completion: bash: add correct suffix in variables
__gitcomp automatically adds a suffix, but __gitcomp_nl and others don't, we need to specify a space by default. Can be tested with: git config branch.autoSetupMe<tab> This fix only works for versions of bash greater than 4.0, before that "local sfx" creates an empty string, therefore the unset expansion doesn't work. The same happens in zsh. Therefore we don't add the test for that for now. The correct fix for all shells requires semantic changes in __gitcomp, but that can be done later. Cc: SZEDER Gábor <szeder.dev@gmail.com> Tested-by: David Aguilar <davvid@gmail.com> Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/hooks/multimail/README.Git')
0 files changed, 0 insertions, 0 deletions