Skip to content

Commit 238128d

Browse files
raalkmlJunio C Hamano
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 3d711d9 commit 238128d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t4201-shortlog.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ test_description='git-shortlog
1111
echo 1 > a1
1212
git add a1
1313
tree=$(git write-tree)
14-
commit=$((echo "Test"; echo) | git commit-tree $tree)
14+
commit=$( (echo "Test"; echo) | git commit-tree $tree )
1515
git update-ref HEAD $commit
1616

1717
echo 2 > a1

0 commit comments

Comments
 (0)