mirror of
https://github.com/sourcebot-dev/sourcebot.git
synced 2025-12-12 04:15:30 +00:00
Support rev:* wildcard
This commit is contained in:
parent
c477d760a7
commit
2f6fc04d3c
1 changed files with 3 additions and 1 deletions
|
|
@ -244,7 +244,9 @@ const transformTreeToIR = async ({
|
||||||
case RevisionExpr:
|
case RevisionExpr:
|
||||||
return {
|
return {
|
||||||
branch: {
|
branch: {
|
||||||
pattern: value,
|
// Special case - "*" means search all branches. Passing in a
|
||||||
|
// blank string will match all branches.
|
||||||
|
pattern: value === '*' ? "" : value,
|
||||||
exact: false
|
exact: false
|
||||||
},
|
},
|
||||||
query: "branch"
|
query: "branch"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue