See: https://www.zsh.org/mla/workers/2023/msg00336.html Signed-off-by: Felipe Contreras <felipe.contreras@xxxxxxxxx> --- t/t4046-diff-unmerged.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/t/t4046-diff-unmerged.sh b/t/t4046-diff-unmerged.sh index 4998a1ce27..ca31771070 100755 --- a/t/t4046-diff-unmerged.sh +++ b/t/t4046-diff-unmerged.sh @@ -21,7 +21,8 @@ test_expect_success setup ' do fpath="$b$o$t" && case "$fpath" in ooo) continue ;; esac && - paths="$paths$fpath " && + : hack for zsh && + { paths="$paths$fpath "; } && p=" $fpath" && case "$b" in x) echo "$m1$p" ;; esac && case "$o" in x) echo "$m2$p" ;; esac && -- 2.39.2.13.g1fb56cf030