summaryrefslogtreecommitdiffstats
path: root/src/core.go
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2018-12-19 23:05:29 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2018-12-19 23:05:29 +0900
commit5624a892311e96ffe019786c5507929d9427ad0f (patch)
tree89441a7b04f50989937935bb01071c80ee6de4ff /src/core.go
parent63c42b14f24c7b82515cf13d6372dd302f5d11a5 (diff)
Inverse-only matches should not reorder the remaining results
Fix #1458
Diffstat (limited to 'src/core.go')
-rw-r--r--src/core.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core.go b/src/core.go
index 023f7be7..1653e6fd 100644
--- a/src/core.go
+++ b/src/core.go
@@ -149,6 +149,7 @@ func Run(opts *Options, revision string) {
}
pattern := patternBuilder([]rune(*opts.Filter))
+ matcher.sort = pattern.sortable
found := false
if streamingFilter {