Skip to content

search: repohascommitafter includes repo after finding first commit

Warren Gifford requested to merge core/limit-commit-count into master

Created by: keegancsmith

HasCommitAfter uses "git rev-list" under the hood. It will return true if there is atleast one commit returned by rev-list. Previously we would return all such commits matching the filters. This commit will tell git to stop looking for commits after finding 1. This should result in git doing much less work in the case of repositories which match the filter.

Merge request reports

Loading