Commit e93b7e32 by Carlos Martín Nieto

revwalk: style change

Change the condition for returning 0 more in line with that we write
elsewhere in the library.
parent 5e2a29a7
...@@ -489,9 +489,7 @@ static int everybody_uninteresting(git_commit_list *orig) ...@@ -489,9 +489,7 @@ static int everybody_uninteresting(git_commit_list *orig)
while (list) { while (list) {
git_commit_list_node *commit = list->item; git_commit_list_node *commit = list->item;
list = list->next; list = list->next;
if (commit->uninteresting) if (!commit->uninteresting)
continue;
return 0; return 0;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment