)]}'
{
  "commit": "c898abf9973147658cb90862c071759b0a82259e",
  "tree": "b6c8e1e076ee3ad8555995dd6e7898a276b327db",
  "parents": [
    "a347b1750551dd2d95e478eb0cf2b27f8c547379"
  ],
  "author": {
    "name": "Philip Zeyliger",
    "email": "philip@bold.dev",
    "time": "Wed Jun 04 16:33:57 2025 +0000"
  },
  "committer": {
    "name": "Philip Zeyliger",
    "email": "philip@bold.dev",
    "time": "Wed Jun 04 16:33:57 2025 +0000"
  },
  "message": "dockerimg: restrict git fetch to upload-pack service requests only\n\nMake automatic git fetch origin more specific by only triggering on GET requests\nto .git/info/refs with service\u003dgit-upload-pack query parameter.\n\nPreviously, any request containing \u0027.git/info/refs\u0027 in the path would trigger\nan automatic git fetch origin operation. This was overly broad and could cause\nunnecessary fetch operations during git push or other git HTTP operations.\n\nThe change restricts the automatic fetch to occur only when:\n1. HTTP method is GET\n2. URL path contains \u0027.git/info/refs\u0027\n3. Query parameter \u0027service\u0027 equals \u0027git-upload-pack\u0027\n\nThis specifically targets git fetch operations (which use git-upload-pack service)\nwhile avoiding triggering during git push operations (which use git-receive-pack)\nor other git HTTP requests that don\u0027t need an automatic fetch.\n\nBenefits:\n- Reduces unnecessary git fetch operations during push and other operations\n- More precise triggering logic aligned with actual fetch behavior\n- Improved performance by avoiding redundant network operations\n- Better separation of fetch vs push operation handling\n\nCo-Authored-By: sketch \u003chello@sketch.dev\u003e\nChange-ID: s4c1aaa5cf80c7dc7k\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c921278e87bcd7c9acbb560d87c78300a3243c1f",
      "old_mode": 33188,
      "old_path": "dockerimg/githttp.go",
      "new_id": "e052304735a745ec74cbe86ecc6f13a2356b3f6e",
      "new_mode": 33188,
      "new_path": "dockerimg/githttp.go"
    }
  ]
}
