Search backend: accept only `query.Basic` for commit search
Created by: camdencheek
The construction of a commit search query previously relied on query.Q
.
The was not exercised until I applied to and
/or
optimizations to commit search.
However, it still only effectively uses the structure of query.Basic
, so this just
makes that restriction an explicit part of the signature.
Test plan
When updated with the new signature, all existing tests pass.