)]}'
{
  "commit": "997c1daf1dce036cd52ba2a4a3d4060b74dd9d54",
  "tree": "fdbcc257aa83f6ed9db52f47db9584ef127a1263",
  "parents": [
    "e9019fcafe0040228b8631c30f97ae1adb61bcdc"
  ],
  "author": {
    "name": "René Scharfe",
    "email": "l.s.r@web.de",
    "time": "Tue Aug 25 20:03:47 2026 +0200"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Tue Aug 25 12:35:30 2026 -0700"
  },
  "message": "worktree add: don\u0027t read out of bounds in worktree_basename()\n\nWhen we search for the start of the basename and `len` is zero, `name`\nends up being `path` - 1, out of bounds.  Avoid that by checking before\ndecrementing.\n\nFixes https://github.com/git-for-windows/git/issues/6346.\n\nOriginal-patch-by: Matthias Aßhauer \u003cmha1993@live.de\u003e\nSigned-off-by: René Scharfe \u003cl.s.r@web.de\u003e\nSigned-off-by: Junio C Hamano \u003cgitster@pobox.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "d21c43fde38b5e64a7ae1a3bbc4b5d81cb26244a",
      "old_mode": 33188,
      "old_path": "builtin/worktree.c",
      "new_id": "1d827c4eae1360949d88d91514b4a44411111912",
      "new_mode": 33188,
      "new_path": "builtin/worktree.c"
    }
  ]
}
