Commit 6d39c0dd6fc138fdd994e7b31ab7f5eed85d2688

Vicent Martí 2012-02-11T06:44:54

Merge pull request #554 from carlosmn/revwalk-reset revwalk: unmark commits as uninteresting on reset

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);