aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2019-04-01 17:32:58 +0200
committerGitHub <noreply@github.com>2019-04-01 17:32:58 +0200
commit9765465b607a8f060a9386cb3cb84c94d0232009 (patch)
treef1d0fb61df9227d6f0aa2f499f2a1381b640e4c9
parented7d8c13bf6b5b4f0c07e45a0b8172f3317f7dcf (diff)
parent1d758f9f64aab6a197e4a4809abf7d87ae0f83f2 (diff)
downloadgit-bug-9765465b607a8f060a9386cb3cb84c94d0232009.tar.gz
Merge pull request #116 from sladyn98/fixlabelquery
cache/filter.go: Fix query match for --label
-rw-r--r--cache/filter.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cache/filter.go b/cache/filter.go
index b6872508..7f010608 100644
--- a/cache/filter.go
+++ b/cache/filter.go
@@ -91,7 +91,7 @@ func (f *Filters) Match(repoCache *RepoCache, excerpt *BugExcerpt) bool {
return false
}
- if match := f.orMatch(f.Label, repoCache, excerpt); !match {
+ if match := f.andMatch(f.Label, repoCache, excerpt); !match {
return false
}