]> git.ipfire.org Git - thirdparty/git.git/commit - t/t3400-rebase.sh
rebase: use test_commit helper in setup
authorJohn Cai <johncai86@gmail.com>
Fri, 18 Mar 2022 13:54:02 +0000 (13:54 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 18 Mar 2022 16:48:52 +0000 (09:48 -0700)
commit77ab58c0919ea9d13251c3a1ba52b301d91e1912
tree957d2cb27c3bfd16d35e99c717f3738264e8177f
parent1a4874565fa3b6668042216189551b98b4dc0b1b
rebase: use test_commit helper in setup

To prepare for the next commit that will test rebase with oids instead
of branch names, update the rebase setup test to add a couple of tags we
can use. This uses the test_commit helper so we can replace some lines
that add a commit manually.

Setting logAllRefUpdates is not necessary because it's on by default for
repositories with a working tree.

Helped-by: Phillip Wood <phillip.wood123@gmail.com>
Signed-off-by: John Cai <johncai86@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t3400-rebase.sh