Skip to content

Handle multiple repohasfile flags

Warren Gifford requested to merge fa/multi-repohasfiles into master

Created by: attfarhan

Addresses Keegan's comment here: https://github.com/sourcegraph/sourcegraph/pull/4247#discussion_r288947598

This PR makes it such that having repohasfile:foo repohasfile:bar baz would return results for baz only in repos that have at least one file that matches foo and one file that matches bar.

Test plan: Unit tests and tested this locally.

Merge request reports

Loading