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,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;
......
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