mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-29 22:25:04 +00:00
revwalk: clear the flags on reset
These store merge-base information which is only valid for a single run.
This commit is contained in:
parent
9f57fd6443
commit
42835aa6b8
@ -540,6 +540,7 @@ void git_revwalk_reset(git_revwalk *walk)
|
||||
commit->in_degree = 0;
|
||||
commit->topo_delay = 0;
|
||||
commit->uninteresting = 0;
|
||||
commit->flags = 0;
|
||||
});
|
||||
|
||||
git_pqueue_clear(&walk->iterator_time);
|
||||
|
Loading…
Reference in New Issue
Block a user