diff options
author | Andrew Gallant <jamslam@gmail.com> | 2023-11-24 14:04:40 -0500 |
---|---|---|
committer | Andrew Gallant <jamslam@gmail.com> | 2023-11-25 15:03:53 -0500 |
commit | 1cbcefddc9cfe1a9acbcc71adef7d9c0591fcb1d (patch) | |
tree | 699878c6ad71694226756c380b2c272460cd9e24 /CHANGELOG.md | |
parent | 4fec9ffca82fb02824d889876c802b1ec54bf403 (diff) |
doc: add more warnings about --vimgrep
The --vimgrep flag has some severe footguns when using a pattern that
matches very frequently. We had already written some docs to warn about
that, but now we also include a suggestion to avoid exorbitant heap
usage.
Closes #2505
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index de6c7230..539a06e9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -87,6 +87,8 @@ Bug fixes: Add documentation about `.ignore`/`.rgignore` files in parent directories. * [BUG #2480](https://github.com/BurntSushi/ripgrep/issues/2480): Fix bug when using inline regex flags with `-e/--regexp`. +* [BUG #2505](https://github.com/BurntSushi/ripgrep/issues/2505): + Improve docs for `--vimgrep` by mentioning footguns and some work-arounds. * [BUG #2519](https://github.com/BurntSushi/ripgrep/issues/2519): Fix incorrect default value in documentation for `--field-match-separator`. * [BUG #2523](https://github.com/BurntSushi/ripgrep/issues/2523): |