Commit 97313ce2a36e6184334bd070faa8b87b1b150621

Carlos Martín Nieto 2012-02-07T10:51:57

revwalk: unmark commits as uninteresting on reset Not doing so hides commits we want to get at during a second walk.

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/revwalk.c b/src/revwalk.c
index d632a19..9c8bc02 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);