Handle multiple repohasfile flags
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.