Thread (1 message) 1 message, 1 author, 2022-04-01

Re: [PATCH v4 05/27] revision.[ch]: split freeing of revs->commit into a function

From: Junio C Hamano <hidden>
Date: 2022-04-01 17:03:55

Phillip Wood [off-list ref] writes:
quoted
  +static void release_revisions_commit_list(struct rev_info *revs)
+{
+	if (revs->commits) {
This guard copied for the original is not needed, free_commit_list()
will handle NULL just fine.
Thanks for a careful reading.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help