Commit 97313ce2 by Carlos Martín Nieto

revwalk: unmark commits as uninteresting on reset

Not doing so hides commits we want to get at during a second walk.
parent 242a1cea
...@@ -558,6 +558,7 @@ void git_revwalk_reset(git_revwalk *walk) ...@@ -558,6 +558,7 @@ void git_revwalk_reset(git_revwalk *walk)
commit->seen = 0; commit->seen = 0;
commit->in_degree = 0; commit->in_degree = 0;
commit->topo_delay = 0; commit->topo_delay = 0;
commit->uninteresting = 0;
); );
git_pqueue_clear(&walk->iterator_time); 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