Skip to content

printer: finish removal of max_matches#3166

Merged
BurntSushi merged 1 commit intomasterfrom
ag/finish-max-matches-refactor
Oct 4, 2025
Merged

printer: finish removal of max_matches#3166
BurntSushi merged 1 commit intomasterfrom
ag/finish-max-matches-refactor

Conversation

@BurntSushi
Copy link
Owner

@BurntSushi BurntSushi commented Oct 4, 2025

This finishes what I started in commit
a6e0be3.
Specifically, the max_matches configuration has been moved to the
grep-searcher crate and removed from the grep-printer crate. The
commit message has the details for why we're doing this, but the short
story is to fix #3076 without other regressions.

Note that this is a breaking change for grep-printer, so this will
require a semver incompatible release.

This finishes what I started in commit
a6e0be3.
Specifically, the `max_matches` configuration has been moved to the
`grep-searcher` crate and *removed* from the `grep-printer` crate. The
commit message has the details for why we're doing this, but the short
story is to fix #3076.

Note that this is a breaking change for `grep-printer`, so this will
require a semver incompatible release.
@BurntSushi BurntSushi merged commit 9d8016d into master Oct 4, 2025
20 checks passed
@BurntSushi BurntSushi deleted the ag/finish-max-matches-refactor branch October 4, 2025 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

--max-count not working properly with --multiline if matches are on consecutive lines

1 participant