From: Alex Riesen Date: Fri, 13 Apr 2007 20:13:10 +0000 (+0200) Subject: Fix t4201: accidental arithmetic expansion X-Git-Tag: v1.5.2-rc0~43^2~1 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=238128d88885b5d0f5a3e28d392362a9b267a03f;p=git.git Fix t4201: accidental arithmetic expansion instead of embedded subshell. It actually breaks here (dash as /bin/sh): t4201-shortlog.sh: 27: Syntax error: Missing '))' FATAL: Unexpected exit with code 2 Signed-off-by: Alex Riesen Signed-off-by: Junio C Hamano --- diff --git a/t/t4201-shortlog.sh b/t/t4201-shortlog.sh index 321429c8f..c27e39cb6 100644 --- a/t/t4201-shortlog.sh +++ b/t/t4201-shortlog.sh @@ -11,7 +11,7 @@ test_description='git-shortlog echo 1 > a1 git add a1 tree=$(git write-tree) -commit=$((echo "Test"; echo) | git commit-tree $tree) +commit=$( (echo "Test"; echo) | git commit-tree $tree ) git update-ref HEAD $commit echo 2 > a1