@matheusbsbs / matheus-bagliano / commits / 238128d888
Fork 0

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 <raa.lkml@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net>

Alex Riesen committed Apr 13, 2007 at 22:13 UTC 238128d88885b5d0f5a3e28d392362a9b267a03f
1 file changed +1 -1
t/t4201-shortlog.sh
+1 -1
@@ -11,7 +11,7 @@ test_description='git-shortlog
11 echo 1 > a1
12 git add a1
13 tree=$(git write-tree)
14 -commit=$((echo "Test"; echo) | git commit-tree $tree)
14 +commit=$( (echo "Test"; echo) | git commit-tree $tree )
15 git update-ref HEAD $commit
16
17 echo 2 > a1