Fixes T6880. If matching commits have no visible/loadable repository, we shouldn't keep going forward in the loop.
Details
Details
- Reviewers
mbishopim3 fabe btrahan - Maniphest Tasks
- T6880: "Attempting to access attached data on PhabricatorRepositoryCommit (via getRepository())" error when creating or accessing diffs
- Commits
- Restricted Diffusion Commit
rPd4f992d2ed09: Continue after rejecting commits from a commit query
Havne't built a repro locally yet so not 100% sure this fixes it.
Diff Detail
Diff Detail
- Repository
- rP Phabricator
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
I've reproduced it locally and this fixes it. Before the patch these were two separate foreaches.
We could still link the commit (like we do with a repo that is not accessible) and make it show "restricted" instead.
With this patch the commits would simply ne be linked at all.