sub-repo commit filtering respects requested number of commits
Created by: mollylogue
if sub-repo filtering filters out commits, attempt to fetch the requested number of commits
We may need to fetch more commits after filtering. To limit the impact of this we'll try to fetch more repos up to a maximum of 5 times before giving up and returning what we have.
Closes https://github.com/sourcegraph/sourcegraph/issues/30750