)]}'
{
  "commit": "3a7784d0d5467ada7526356673c6653416ace302",
  "tree": "8d218aa951fcff05117396b0711891d403df44bd",
  "parents": [
    "c3764d15e61ab622628b94fec204bc2acfb8aee2"
  ],
  "author": {
    "name": "Thomas Bachem",
    "email": "mail@thomasbachem.com",
    "time": "Fri Oct 23 13:19:02 2026 +0000"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Fri Oct 23 10:47:35 2026 -0700"
  },
  "message": "hook: accept .enabled and .parallel given without a value\n\nhook.\u003cname\u003e.enabled and hook.\u003cname\u003e.parallel are booleans, and\ngit-config(1) documents a boolean without a value as true. But\nhook_config_lookup_all() rejects every hook.\u003cname\u003e.\u003ckey\u003e that has no\nvalue, so \"git -c hook.lint.parallel hook run pre-commit\" fails with\n\"missing value for \u0027hook.lint.parallel\u0027\", and so does a bare\n\"parallel\" under [hook \"lint\"]. The same happens with .enabled, for a\nhook as well as for an event.\n\nKeep rejecting a missing value for the other keys. For .enabled and\n.parallel, pass it to git_parse_maybe_bool(), which takes it as true.\n\nAssisted-by: Claude Fable 5.1\nSigned-off-by: Thomas Bachem \u003cmail@thomasbachem.com\u003e\nSigned-off-by: Junio C Hamano \u003cgitster@pobox.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "5e756cb353033efdf0aeb580e21a5f2733d6b618",
      "old_mode": 33188,
      "old_path": "hook.c",
      "new_id": "c500fec33ea7c71db8e7e292e34ad1cd8629764f",
      "new_mode": 33188,
      "new_path": "hook.c"
    },
    {
      "type": "modify",
      "old_id": "45b99a7f048fd57d129bdf372633a8589e8a3731",
      "old_mode": 33261,
      "old_path": "t/t1800-hook.sh",
      "new_id": "fca4cfc7125f1178d0b6c127daa55dac14874654",
      "new_mode": 33261,
      "new_path": "t/t1800-hook.sh"
    }
  ]
}
