revwalk: style change Change the condition for returning 0 more in line with that we write elsewhere in the library.
diff --git a/src/revwalk.c b/src/revwalk.c
index 244061a..ec9cc57 100644
--- a/src/revwalk.c
+++ b/src/revwalk.c
@@ -489,10 +489,8 @@ static int everybody_uninteresting(git_commit_list *orig)
while (list) {
git_commit_list_node *commit = list->item;
list = list->next;
- if (commit->uninteresting)
- continue;
-
- return 0;
+ if (!commit->uninteresting)
+ return 0;
}
return 1;