Inverse-only matches should not reorder the remaining results

Fix #1458
This commit is contained in:
Junegunn Choi
2018-12-19 23:05:29 +09:00
parent 63c42b14f2
commit 5624a89231
4 changed files with 27 additions and 2 deletions

View File

@@ -149,6 +149,7 @@ func Run(opts *Options, revision string) {
}
pattern := patternBuilder([]rune(*opts.Filter))
matcher.sort = pattern.sortable
found := false
if streamingFilter {