Commit 42835aa6 by Carlos Martín Nieto

revwalk: clear the flags on reset

These store merge-base information which is only valid for a single run.
parent 9f57fd64
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment