We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dfd37b7 + b07a819 commit 651b443Copy full SHA for 651b443
reflog.c
@@ -193,7 +193,6 @@ static void mark_reachable(struct expire_reflog_policy_cb *cb)
193
commit_list_insert(commit, &leftover);
194
continue;
195
}
196
- commit->object.flags |= REACHABLE;
197
parent = commit->parents;
198
while (parent) {
199
commit = parent->item;
@@ -371,6 +370,9 @@ void reflog_expiry_cleanup(void *cb_data)
371
370
clear_commit_marks(cb->tip_commit, REACHABLE);
372
break;
373
+ for (elem = cb->mark_list; elem; elem = elem->next)
374
+ clear_commit_marks(elem->item, REACHABLE);
375
+ free_commit_list(cb->mark_list);
376
377
378
int count_reflog_ent(struct object_id *ooid UNUSED,
0 commit comments