summaryrefslogtreecommitdiff
path: root/builtin/count-objects.c
diff options
context:
space:
mode:
authorRené Scharfe <l.s.r@web.de>2022-12-13 07:27:10 +0100
committerJunio C Hamano <gitster@pobox.com>2022-12-13 22:07:08 +0900
commit4cb39fcf19b969cdfa042b65d4d0b62a7fd0ba1e (patch)
tree2f66f2fbfede97fe8883a2c168cf1e1c87713ae5 /builtin/count-objects.c
parent8706a59933d09354c5e3eb09a543453655a97183 (diff)
commit: skip already cleared parents in clear_commit_marks_1()
Don't put clean parents on the pending list, as they and their ancestors don't need any treatment and would be skipped later anyway. This saves the allocation and release of a commit list item in ca. 20% of the cases during a run of the test suite. Signed-off-by: René Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/count-objects.c')
0 files changed, 0 insertions, 0 deletions