diff --git a/t/t4201-shortlog.sh b/t/t4201-shortlog.sh index 321429c8fa..c27e39cb6f 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