3 test_description='client checkout auto-set branch rebase=true'
7 test_expect_success 'setup' '
13 # setup the post-checkout hook
14 install_client_hook 'post-checkout-rebase' 'post-checkout'
16 test_expect_success 'sets rebase on new topic branch' '
17 ! git config --list | grep branch.master.rebase &&
18 git checkout -b topic master &&
19 git config --list | grep branch.topic.rebase=true