Fixes T7852. Although 1 could also indicate other kinds of problems, assume it means "no results".
Details
Details
- Reviewers
chad - Maniphest Tasks
- T7852: A repository grep search with no results returns an Unhandled Exception ("ConduitException")
- Commits
- Restricted Diffusion Commit
rPf1c298203a84: Return no results from `grep` repository queries on error
Searched for nonsense strings in Git and Mercurial. Searched for valid strings in Git and Mercurial.
Diff Detail
Diff Detail
- Repository
- rP Phabricator
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
src/applications/diffusion/conduit/DiffusionQueryPathsConduitAPIMethod.php | ||
---|---|---|
30–31 | The second issue is that pages 2+ of git results weren't returned correctly because the skipped results were discarded twice. This is one of two places where earlier pages of results were being discarded. | |
90–92 | This is the second place where earlier pages of results were being discarded. |