{"version":"2.1.259","anchor":"git-tools-allowed-subcommand-shim-gains-git-grep-and-work","canonical_anchor":"git-tools-allowed-subcommand-shim-gains-git-grep-and-work","heading":"git tool's allowed-subcommand shim gains git grep and worktree flag parsing","tier":"notice","area":"Sandbox","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.259\/e\/git-tools-allowed-subcommand-shim-gains-git-grep-and-work","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.259","markdown":"### git tool's allowed-subcommand shim gains `git grep` and worktree flag parsing\n\nThe restricted git wrapper now parses -C and --work-tree flags and fully handles git grep.\n\nThe sandboxed git command allowlist now parses `-C`, `--work-tree`, and `--work-tree=` flags before the subcommand and resolves relative paths against that worktree. It also adds a full handler for `git grep`, alongside the existing expanded handling for `git diff`. This applies to everyone using the restricted git wrapper.\n\n- Area: Sandbox\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5"}