| test_description='git pull message generation' |
| test_expect_success setup ' |
| test_commit initial afile original && |
| git commit -m "add bfile" |
| test_tick && test_tick && |
| git commit -m "second commit" && |
| echo "original $dollar" >afile && |
| git commit -m "do not clobber $dollar signs" |
| test_expect_success pull ' |
| git cat-file commit HEAD >result && |
| test_expect_success '--log=1 limits shortlog length' ' |
| git reset --hard HEAD^ && |
| test "$(cat afile)" = original && |
| test "$(cat bfile)" = added && |
| git cat-file commit HEAD >result && |
| ! grep "second commit" result |