test: refactor to use "test_commit" to create commits
commit3c06a583398f6630c7162b463ff1acbdf0110f83
authorJiang Xin <worldhello.net@gmail.com>
Thu, 17 Jun 2021 03:17:26 +0000 (17 11:17 +0800)
committerJunio C Hamano <gitster@pobox.com>
Thu, 17 Jun 2021 05:12:22 +0000 (17 14:12 +0900)
tree05cac34348beb463e83654d70e6934f9ffe4bcc5
parent2bafb3d702d4cd77de0d3e68f13188980e0de734
test: refactor to use "test_commit" to create commits

Refactor function "create_commits_in" to use "test_commit" to create
commit.

Signed-off-by: Jiang Xin <zhiyou.jx@alibaba-inc.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5411/common-functions.sh
t/t5548-push-porcelain.sh