Skip to content

Release v7.172.3

Choose a tag to compare

@github-actions github-actions released this 21 Nov 05:42
ac72a4b

Changed

  • The hooks README records the decision for each command that #1255 reported: which forms are accepted (named corpus scripts, staging a named corpus file, quoted search patterns) and which stay refused on purpose (extra git diff flags, heredocs that write a file mentioning a protected path, dotnet test filters ending in a wildcard), with a workaround for each refused form (#1255)
  • The hooks README lists the guard's configuration-dependent limits: inherited RIPGREP_CONFIG_PATH and GIT_EXTERNAL_DIFF, and Git clean filters run by git add (#1255)

Fixed

  • The shell-write guard accepts read-only rg searches that use context (-A, -B, -C), match limits (-m), file types (-t, -T) or the -S, -o, -s, -I, -N flags when the command also carries --no-config, so searches with glob-like patterns such as ]* are no longer refused. --hidden, --no-ignore, --pre, -z, -f and other options stay refused (#1255)