summaryrefslogtreecommitdiffstats
path: root/t/t4013/diff.format-patch_--stdout_initial..main^
diff options
context:
space:
mode:
authorRené Scharfe <l.s.r@web.de>2025-12-24 18:03:15 +0100
committerJunio C Hamano <gitster@pobox.com>2025-12-25 08:29:27 +0900
commit052efdd60f860dc5bc50a92f10911402d9cc71b4 (patch)
tree19e3739bb4be98685f8572b5335592fd01fb986a /t/t4013/diff.format-patch_--stdout_initial..main^
parentd8a17ef09b8d9fdeb7d22cbc926cbebf3d8a58c9 (diff)
downloadgit-052efdd60f860dc5bc50a92f10911402d9cc71b4.tar.gz
git-052efdd60f860dc5bc50a92f10911402d9cc71b4.zip
log: use commit_stack
Calling commit_stack_push() to add commits is simpler and more efficient than using REALLOC_ARRAY. Calling commit_stack_pop() to consume them in LIFO order is also a tad simpler than calculating the array index from the end. Signed-off-by: René Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.format-patch_--stdout_initial..main^')
0 files changed, 0 insertions, 0 deletions