)]}'
{
  "commit": "ffe8005b9d8e0cf1b5d5d796ca4da76fbe219011",
  "tree": "3c292b606d73f6dc1812c6f1c38757a28c8c2409",
  "parents": [
    "1ecf6538263cf81c151f2e720cd73fde3d50a07e"
  ],
  "author": {
    "name": "Patrick Steinhardt",
    "email": "ps@pks.im",
    "time": "Tue Apr 21 09:34:25 2026 +0200"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Wed Apr 22 15:53:36 2026 -0700"
  },
  "message": "t: detect errors outside of test cases\n\nWe have recently merged a patch series that had a simple misspelling of\n`test_expect_success`. Instead of making our tests fail though, this\ntypo went completely undetected and all of our tests passed, which is of\ncourse unfortunate. This is a more general issue with our test suite:\nall commands that run outside of a specific test case can fail, and if\nwe don\u0027t explicitly check for such failure then this failure will be\nsilently ignored.\n\nImprove the status quo by enabling the errexit option so that any such\nunchecked failures will cause us to abort immediately.\n\nNote that for now, we only enable this option for Bash 5 and newer. This\nis because other shells have wildly different behaviour, and older\nversions of Bash (especially on macOS) are buggy. The list of enabled\nshells may be extended going forward.\n\nHelped-by: Jeff King \u003cpeff@peff.net\u003e\nSigned-off-by: Patrick Steinhardt \u003cps@pks.im\u003e\nSigned-off-by: Junio C Hamano \u003cgitster@pobox.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "28cfe730ee5aedfce1104bb8aae53c13e591cf05",
      "old_mode": 33261,
      "old_path": "ci/run-build-and-tests.sh",
      "new_id": "de08a08d59fc8f598ebe0f666a0454b7085e88fe",
      "new_mode": 33261,
      "new_path": "ci/run-build-and-tests.sh"
    },
    {
      "type": "modify",
      "old_id": "de7d9e7b925049cee92526d4ee3d28122b65cefb",
      "old_mode": 33188,
      "old_path": "t/test-lib.sh",
      "new_id": "cded7bd693e6f615d32ad0ce9ad0bb88eb585357",
      "new_mode": 33188,
      "new_path": "t/test-lib.sh"
    }
  ]
}
