3 test_description
='git pull message generation'
9 test_expect_success setup
'
10 test_commit initial afile original &&
17 git commit -m "add bfile"
19 test_tick && test_tick &&
20 echo "second" >afile &&
22 git commit -m "second commit" &&
23 echo "original $dollar" >afile &&
25 git commit -m "do not clobber $dollar signs"
28 test_expect_success pull
'
31 git pull --no-rebase --log &&
33 git cat-file commit HEAD >result &&
38 test_expect_success
'--log=1 limits shortlog length' '
41 git reset --hard HEAD^ &&
42 test "$(cat afile)" = original &&
43 test "$(cat bfile)" = added &&
44 git pull --no-rebase --log=1 &&
46 git cat-file commit HEAD >result &&
48 ! grep "second commit" result