3 test_description='client commit-msg ticket enforcer for merges'
7 # setup the commit-msg hook
8 install_client_hook 'commit-msg' 'commit-msg'
10 test_expect_success 'accepts merge' '
11 echo "$test_name" >file &&
13 git commit -m "line one. re #3222." &&
14 git checkout -b topic1 &&
15 echo "$test_name topic1" >>file &&
16 git commit -a -m "line two. re #3222." &&
17 git checkout master &&
18 echo "$test_name" > file2 &&
20 git commit -m "file2. re #3222." &&
22 git log -n 1 HEAD | grep "Merge branch"