)]}'
{
  "commit": "d963ac98ec94fd2003722a794f0168a70ea1b815",
  "tree": "f7c3930523621c493f6e5442a7a6f0593a2e9137",
  "parents": [
    "cbcc2f79117ded0161b012dc5107f181b5d87b09"
  ],
  "author": {
    "name": "Patrick Steinhardt",
    "email": "ps@pks.im",
    "time": "Fri Dec 27 13:10:19 2024 +0100"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Fri Dec 27 08:17:19 2024 -0800"
  },
  "message": "meson: enable auto-discovered \"gitweb\"\n\nIn 7d549fe317 (meson: skip gitweb build when Perl is disabled,\n2024-12-20) we have started to conditionally enable \"gitweb\" based on\nwhether or not Perl is enabled. By accident though that change causes us\nto not build gitweb in case its feature flag is set to \"auto\" even if\nautoconfiguration determines that it could be built. This is because we\nuse \"gitweb_option.enabled()\", which only checks whether the feature has\nbeen explicitly enabled.\n\nFix the issue by using `gitweb_option.allowed()` instead, which returns\ntrue in case it is either explicitly enabled or set to \"auto\". This also\nworks for the case where the feature becomes auto-disabled due to Perl\nnot being present because we use `disable_auto_if(not perl.found())`.\n\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": "3e57793862e5fc15685b5f0fac7f7223af7bef1f",
      "old_mode": 33188,
      "old_path": "meson.build",
      "new_id": "0064eb64f546a6349a8694ce251bd352febda6fe",
      "new_mode": 33188,
      "new_path": "meson.build"
    }
  ]
}
