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
echo 5 > a1
git commit -m "a 12 34 56 78" a1
-git shortlog HEAD > out
+git shortlog -w HEAD > out
cat > expect << EOF
A U Thor (5):