summaryrefslogtreecommitdiff
path: root/t/unit-tests/t-basic.c
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2023-11-24 12:10:34 +0100
committerJunio C Hamano <gitster@pobox.com>2023-11-26 10:10:48 +0900
commite787e664da640d1d4b15c6dc67a704dfa56592f9 (patch)
tree4daee4c89a6eca1c3641520776243f9ac2f5120d /t/unit-tests/t-basic.c
parenta9df61ace31b84c9609dfa4875e93b8c92e06e56 (diff)
replay: introduce pick_regular_commit()
Let's refactor the code to handle a regular commit (a commit that is neither a root commit nor a merge commit) into a single function instead of keeping it inside cmd_replay(). This is good for separation of concerns, and this will help further work in the future to replay merge commits. Co-authored-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/unit-tests/t-basic.c')
0 files changed, 0 insertions, 0 deletions