)]}'
{
  "commit": "886ffaa60e6865c1944cce289d49d54f4f4329ad",
  "tree": "f7e5aec97ac4350a04afef8238a666253b631fb7",
  "parents": [
    "862ddfc1b6f9df518035f89681d3f6e5d2be0bec"
  ],
  "author": {
    "name": "Yann Collet",
    "email": "cyan@meta.com",
    "time": "Sat Nov 21 07:23:32 2026"
  },
  "committer": {
    "name": "Yann Collet",
    "email": "cyan@meta.com",
    "time": "Sat Nov 21 15:42:08 2026"
  },
  "message": "zstdgrep: rewrite, to parse options as grep does\n\nzstdgrep parsed grep options with a fixed list from GNU grep 2.5.1,\nand kept them in a string split on spaces.\nA second -e was taken for a file name, and its pattern silently ignored (#2064).\n--regexp X, --context N, -iA N, or a pattern file name with a space also failed.\n\nThis new script, written from scratch, follows the GNU grep syntax:\nbundled short options, --option\u003dvalue or --option value,\nabbreviated long options, options after the files.\nArguments stay quoted, patterns read from a pipe are read once,\nand a zstdcat error (e.g. missing file) gives exit status 2, as grep does.\n-r, --include and --exclude are rejected, instead of being ignored.\n\nThe new cli-test compares zstdgrep on compressed files with grep on the\noriginal files, output and exit status, for 61 command lines:\n21 of them differ on dev.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "517175ccd2fb08258df82ef7b4886ffe4d5200f2",
      "old_mode": 33261,
      "old_path": "programs/zstdgrep",
      "new_id": "3e8441734c8efef788af3785b9d38c1ed8d97e60",
      "new_mode": 33261,
      "new_path": "programs/zstdgrep"
    },
    {
      "type": "modify",
      "old_id": "e15097a949cf94dcc0ffb388be9f602005b59659",
      "old_mode": 33188,
      "old_path": "programs/zstdgrep.1",
      "new_id": "1f9e43d5b69cfd8904f188fd58f2ef7ca5418afe",
      "new_mode": 33188,
      "new_path": "programs/zstdgrep.1"
    },
    {
      "type": "modify",
      "old_id": "05b26ffccb516f033d68247e966c9d1e4d70ec5b",
      "old_mode": 33188,
      "old_path": "programs/zstdgrep.1.md",
      "new_id": "f504143025d04616e5847a76b46ae3f3be56622d",
      "new_mode": 33188,
      "new_path": "programs/zstdgrep.1.md"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "5ad326f0476a91e85fe2c7e435b4105da66c72e3",
      "new_mode": 33261,
      "new_path": "tests/cli-tests/cltools/zstdgrep-vs-grep.sh"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391",
      "new_mode": 33188,
      "new_path": "tests/cli-tests/cltools/zstdgrep-vs-grep.sh.stderr.exact"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "697683dcade17e74aafe716275297e3209e67247",
      "new_mode": 33188,
      "new_path": "tests/cli-tests/cltools/zstdgrep-vs-grep.sh.stdout.exact"
    },
    {
      "type": "modify",
      "old_id": "56a6051ca2b02b04ef92d5150c9ef600403cb1de",
      "old_mode": 33188,
      "old_path": "tests/cli-tests/cltools/zstdgrep.sh.exit",
      "new_id": "0cfbf08886fca9a91cb753ec8734c84fcbe52c9f",
      "new_mode": 33188,
      "new_path": "tests/cli-tests/cltools/zstdgrep.sh.exit"
    }
  ]
}
