revwalk: unmark commits as uninteresting on reset

Not doing so hides commits we want to get at during a second walk.
This commit is contained in:
Carlos Martín Nieto 2012-02-07 10:51:57 +01:00
parent 242a1cea8d
commit 97313ce2a3

View File

@ -558,6 +558,7 @@ void git_revwalk_reset(git_revwalk *walk)
commit->seen = 0;
commit->in_degree = 0;
commit->topo_delay = 0;
commit->uninteresting = 0;
);
git_pqueue_clear(&walk->iterator_time);