aboutsummaryrefslogtreecommitdiffstats
path: root/cache
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-09-10 12:46:07 +0200
committerMichael Muré <batolettre@gmail.com>2018-09-10 12:46:07 +0200
commitece9e39461bb40df979c22092873eff014fc1648 (patch)
tree7790ff2dc86f00967a0c15f6100ece6fbb8fda5d /cache
parent0dc705336e7851f488fdf4e51225d6daf18198ed (diff)
downloadgit-bug-ece9e39461bb40df979c22092873eff014fc1648.tar.gz
cache: add the alias "state" for the qualifier "status"
both are commonly expected
Diffstat (limited to 'cache')
-rw-r--r--cache/query.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cache/query.go b/cache/query.go
index 3976aede..14ef0bae 100644
--- a/cache/query.go
+++ b/cache/query.go
@@ -37,7 +37,7 @@ func ParseQuery(query string) (*Query, error) {
qualifierQuery := removeQuote(split[1])
switch qualifierName {
- case "status":
+ case "status", "state":
f, err := StatusFilter(qualifierQuery)
if err != nil {
return nil, err