mirror of
https://github.com/git/git.git
synced 2025-03-23 09:36:39 +00:00
Merge branch 'jc/maint-reflog-expire-clean-mark-typofix'
In "git reflog expire", REACHABLE bit was not cleared from the correct objects. * jc/maint-reflog-expire-clean-mark-typofix: reflog: fix typo in "reflog expire" clean-up codepath
This commit is contained in:
commit
212ca64fb4
@ -414,7 +414,7 @@ static int expire_reflog(const char *ref, const unsigned char *sha1, int unused,
|
||||
if (cb.unreachable_expire_kind == UE_HEAD) {
|
||||
struct commit_list *elem;
|
||||
for (elem = tips; elem; elem = elem->next)
|
||||
clear_commit_marks(tip_commit, REACHABLE);
|
||||
clear_commit_marks(elem->item, REACHABLE);
|
||||
free_commit_list(tips);
|
||||
} else {
|
||||
clear_commit_marks(tip_commit, REACHABLE);
|
||||
|
Loading…
x
Reference in New Issue
Block a user