From d37cc2f4175875980d4110309fb7afcb52b85872 Mon Sep 17 00:00:00 2001 From: Peter Grayson Date: Wed, 8 Dec 2021 10:55:04 -0500 Subject: [PATCH] Use bulk commit in t1302-repair-interop.sh Signed-off-by: Peter Grayson --- t/t1302-repair-interop.sh | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/t/t1302-repair-interop.sh b/t/t1302-repair-interop.sh index d8b4190..7366c6c 100755 --- a/t/t1302-repair-interop.sh +++ b/t/t1302-repair-interop.sh @@ -4,13 +4,10 @@ test_description='Test git/StGit interoperability with "stg repair"' test_expect_success 'Create some git-only history' ' echo foo > foo.txt && - stg add foo.txt && - git commit -a -m foo && + git add foo.txt && + git commit -m foo && git tag foo-tag && - for i in 0 1 2 3 4; do - echo foo$i >> foo.txt && - git commit -a -m foo$i; - done + test_commit_bulk --message="foo%s" --filename=foo.txt --contents="foo%s" 5 ' test_expect_success 'Initialize the StGit repository' ' -- 2.11.4.GIT