Commit a4ffbae4 by Julian Ganz

revwalk: remove tautologic condition for hiding a commit

The contition cannot be reached with `commit->uninteresting` being true:
either a `break` or a `continue` statement will be hit in this case.
parent b00a09b0
......@@ -426,7 +426,7 @@ static int limit_list(git_commit_list **out, git_revwalk *walk, git_commit_list
break;
}
if (!commit->uninteresting && walk->hide_cb && walk->hide_cb(&commit->oid, walk->hide_cb_payload))
if (walk->hide_cb && walk->hide_cb(&commit->oid, walk->hide_cb_payload))
continue;
time = commit->time;
......
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