fork of https://github.com/sourcegraph/zoekt
0

Configure Feed

Select the types of activity you want to include in your feed.

fix constant evaluation of empty repo set (#398)

An empty repo set will never match anything, so can be evaluated to a
constant false. Previously, this would evaluate to true, which broke
Sourcegraph's repohasfile: filter.

author
Camden Cheek
committer
GitHub
date (Jul 13, 2022, 12:11 PM -0600) commit 267622cc parent 42276b7b
+1 -1
+1 -1
query/query.go
··· 614 614 } 615 615 case *RepoSet: 616 616 if len(s.Set) == 0 { 617 - return &Const{true} 617 + return &Const{false} 618 618 } 619 619 } 620 620 return q