]> git.ipfire.org Git - thirdparty/git.git/commit
annotate-tests: quote variable expansions containing path names
authorJohannes Sixt <j6t@kdbg.org>
Sat, 30 Jan 2021 16:22:25 +0000 (17:22 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sat, 30 Jan 2021 23:15:06 +0000 (15:15 -0800)
commit6eaf624dea685f3d61815efeb31d7ff06197330c
tree73d1e94be1f8ea3fa55b8827e177212878b042a1
parent3af31e87868d46363359148db5243f46d49029e8
annotate-tests: quote variable expansions containing path names

The test case added by 9466e3809d ("blame: enable funcname blaming with
userdiff driver", 2020-11-01) forgot to quote variable expansions. This
causes failures when the current directory contains blanks.

One variable that the test case introduces will not have IFS characters
and could remain without quotes, but let's quote all expansions for
consistency, not just the one that has the path name.

Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Acked-by: Philippe Blain <levraiphilippeblain@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/annotate-tests.sh