Skip to content

Commit

Permalink
Fix t4201: accidental arithmetic expansion
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alex Riesen authored and Junio C Hamano committed Apr 16, 2007
1 parent 3d711d9 commit 238128d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/t4201-shortlog.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 238128d

Please sign in to comment.