Skip to content

feat(rg): add reset compatibility flags - #1679

Merged
chaliy merged 1 commit into
mainfrom
2026-05-22-rg-batch-5
May 22, 2026
Merged

chaliy merged 1 commit into
mainfrom
2026-05-22-rg-batch-5

Conversation

@chaliy

@chaliy chaliy commented May 22, 2026

Copy link
Copy Markdown
Contributor

What

Add rg support for --no-invert-match, --no-encoding, and --ignore-messages.

Why

These are real ripgrep flags exposed by completion output. Scripts can use them to reset earlier options, so bashkit rg should accept them and preserve real rg stdout behavior.

How

Wire parser handling for the option resets/no-op diagnostic toggle, update help output, and add real-rg differential cases for each flag.

Risk

  • Low
  • --ignore-messages remains diagnostic-only/no-op because bashkit does not model ignore parse stderr.

Checklist

  • Tests added or updated
  • Backward compatibility considered

@chaliy
chaliy marked this pull request as ready for review May 22, 2026 15:36
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
❌ Deployment failed
View logs
bashkit a5cc8da May 22 2026, 03:37 PM

@chaliy
chaliy force-pushed the 2026-05-22-rg-batch-5 branch from a5cc8da to 85af45d Compare May 22, 2026 15:49
@chaliy
chaliy merged commit b90e55c into main May 22, 2026
33 checks passed
@chaliy
chaliy deleted the 2026-05-22-rg-batch-5 branch May 22, 2026 16:02
chaliy added a commit that referenced this pull request May 30, 2026
## What
Add rg support for --no-invert-match, --no-encoding, and
--ignore-messages.

## Why
These are real ripgrep flags exposed by completion output. Scripts can
use them to reset earlier options, so bashkit rg should accept them and
preserve real rg stdout behavior.

## How
Wire parser handling for the option resets/no-op diagnostic toggle,
update help output, and add real-rg differential cases for each flag.

## Risk
- Low
- --ignore-messages remains diagnostic-only/no-op because bashkit does
not model ignore parse stderr.

## Checklist
- [x] Tests added or updated
- [x] Backward compatibility considered
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.

1 participant