)]}'
{
  "commit": "a4fea08b6ebc2782891abdf6fd4bb9feeb21ff4d",
  "tree": "c02ae47f2d69e95d69adf8829d0c06baa64cf240",
  "parents": [
    "66e871b6647ffea61a77a0f82c7ef3415f1ee79c"
  ],
  "author": {
    "name": "Ævar Arnfjörð Bjarmason",
    "email": "avarab@gmail.com",
    "time": "Sun Jan 24 18:28:12 2021 +0100"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Sun Jan 24 16:09:15 2021 -0800"
  },
  "message": "grep/pcre2 tests: don\u0027t rely on invalid UTF-8 data test\n\nAs noted in [1] when I originally added this test in [2] the test was\ncompletely broken as it lacked a redirect[3]. I now think this whole\nthing is overly fragile. Let\u0027s only test if we have a segfault here.\n\nBefore this the first test\u0027s \"test_cmp\" was pretty meaningless. We\nwere only testing if PCREv2 was so broken that it would spew out\nsomething completely unrelated on stdout, which isn\u0027t very plausible.\n\nIn the second test we\u0027re relying on PCREv2 forever holding to the\ncurrent behavior of the PCRE_UTF8 flag, as opposed to learning some\noptimistic graceful fallback to PCRE2_MATCH_INVALID_UTF in the\nfuture. If that happens having this test broken under bisecting would\nsuck.\n\nA follow-up commit will actually test this case in a meaningful way\nunder the PCRE2_MATCH_INVALID_UTF flag. Let\u0027s run this one\nunconditionally, and just make sure we don\u0027t segfault.\n\n1. e714b898c6 (t7812: expect failure for grep -i with invalid UTF-8\n   data, 2019-11-29)\n2. 8a5999838e (grep: stess test PCRE v2 on invalid UTF-8 data,\n   2019-07-26)\n3. c74b3cbb83 (t7812: add missing redirects, 2019-11-26)\n\nSigned-off-by: Ævar Arnfjörð Bjarmason \u003cavarab@gmail.com\u003e\nSigned-off-by: Junio C Hamano \u003cgitster@pobox.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "03dba6685ab7a0fc3d19a48196e5987d714ba62e",
      "old_mode": 33261,
      "old_path": "t/t7812-grep-icase-non-ascii.sh",
      "new_id": "38457c2e4f10eb43829ee9524101c5f87eaf4c36",
      "new_mode": 33261,
      "new_path": "t/t7812-grep-icase-non-ascii.sh"
    }
  ]
}
