)]}'
{
  "commit": "42148dafdf74f8458e7a710dcb982c0be0e40566",
  "tree": "11ee25e1227ed1b4ad819db1b514cb145bc25bf7",
  "parents": [
    "cf2139f8e1680b076e115bc0b349e369b4b0ecc4"
  ],
  "author": {
    "name": "Siddharth Shrimali",
    "email": "r.siddharth.shrimali@gmail.com",
    "time": "Wed Apr 01 11:50:29 2026 +0530"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Wed Apr 01 11:45:25 2026 -0700"
  },
  "message": "t7004: replace wc -l with modern test helpers\n\nPipelines of the form \"test $(git tag | wc -l) -eq 0\" suppress git\u0027s\nexit code. This means a crash or unexpected failure from git tag would\ngo undetected. Additionally, the use of $(...) creates a subshell for\neach check, which adds unnecessary overhead.\n\nReplace these patterns with test_must_be_empty and test_line_count.\nThese helpers check the output of git directly from a file, ensuring\ngit\u0027s exit code is captured properly via the preceding \"\u0026\u0026\" chain.\nThey also provide better diagnostics on failure by printing the\ncontents of the file when a check does not pass.\n\nSigned-off-by: Siddharth Shrimali \u003cr.siddharth.shrimali@gmail.com\u003e\nSigned-off-by: Junio C Hamano \u003cgitster@pobox.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "ce2ff2a28abaa37e7fe95f422c4faa64980339b6",
      "old_mode": 33261,
      "old_path": "t/t7004-tag.sh",
      "new_id": "faf7d97fc487d301d27f7346cbf2b83c4e289f77",
      "new_mode": 33261,
      "new_path": "t/t7004-tag.sh"
    }
  ]
}
