From 97313ce2a36e6184334bd070faa8b87b1b150621 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn=20Nieto?= Date: Tue, 7 Feb 2012 10:51:57 +0100 Subject: [PATCH] revwalk: unmark commits as uninteresting on reset Not doing so hides commits we want to get at during a second walk. --- src/revwalk.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/revwalk.c b/src/revwalk.c index d632a19b8..9c8bc02e9 100644 --- a/src/revwalk.c +++ b/src/revwalk.c @@ -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);