[PR #13123] fix(grep): ignore RIPGREP_CONFIG_PATH in internal rg calls #14528

Open
opened 2026-02-16 18:19:19 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/13123

State: open
Merged: No


## Summary

  • add --no-config to internal
    g invocations in Ripgrep.files() and Ripgrep.search()
  • prevent user RIPGREP_CONFIG_PATH / .ripgreprc from mutating OpenCode grep behavior
  • add a regression test that sets RIPGREP_CONFIG_PATH and verifies search output still contains the real matching line

Testing

  • unable to run locally on this Windows host because un is not installed
  • GitHub CI will validate

Fixes #12925

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/13123 **State:** open **Merged:** No --- ## Summary - add --no-config to internal g invocations in Ripgrep.files() and Ripgrep.search() - prevent user RIPGREP_CONFIG_PATH / .ripgreprc from mutating OpenCode grep behavior - add a regression test that sets RIPGREP_CONFIG_PATH and verifies search output still contains the real matching line ## Testing - unable to run locally on this Windows host because un is not installed - GitHub CI will validate Fixes #12925
yindo added the pull-request label 2026-02-16 18:19:19 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#14528