search: don't fuzzy search repos if rev is specified
Created by: stefanhengl
Fixes #12892 Relates to #12476
This PR optimizes how we translate glob patterns of repo: filters
- If a revision is specified we don't fuzzify. Example:
repo:foo@bar
is mapped torepo:foo@bar
, whilerepo:foo
is mapped torepo:**foo**
- Heuristic for github.com because #12891 does not work for globbing if rev is not specified:
repo:github.com/repo
is mapped torepo:github.com/repo**
instead ofrepo:**github.com/repo**
.