)]}'
{
  "commit": "9fc4ffcfd6451af6eb7f66f24440b3556910bc9d",
  "tree": "6f02dcb332e255979d104ebbcb9cfefb64d73059",
  "parents": [
    "8ae39633d171bbb1b4df79e27c8cabe3f17b8ee1"
  ],
  "author": {
    "name": "Kim Morrison",
    "email": "kim@tqft.net",
    "time": "Mon Mar 23 10:21:48 2026 +1100"
  },
  "committer": {
    "name": "Kim Morrison",
    "email": "kim@tqft.net",
    "time": "Mon Mar 23 10:21:48 2026 +1100"
  },
  "message": "fix(build): use commondir to resolve git directory in worktrees\n\nThis PR fixes git revision detection in worktrees where the worktree\u0027s\ngitdir path passes through another git repository. The previous code\nused `_git_find_closest_git_dir` which walks up the filesystem looking\nfor a `.git` entry, but this finds the wrong repository when the\nworktree gitdir is stored inside another git repo (e.g. when the\nproject is a git submodule of a parent repo that also uses git).\n\nInstead, read the `commondir` file that git places in every worktree\u0027s\ngitdir, which directly points to the shared git object directory. Fall\nback to the old filesystem walk if `commondir` doesn\u0027t exist.\n\nCo-Authored-By: Claude Opus 4.6 (1M context) \u003cnoreply@anthropic.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "f6fcaf8a94ae01959591dd0a831c01514876bbe6",
      "old_mode": 33188,
      "old_path": "src/cmake/Modules/GetGitRevisionDescription.cmake",
      "new_id": "860775cf5c664b7e92b11cb7e406727f3bd97b98",
      "new_mode": 33188,
      "new_path": "src/cmake/Modules/GetGitRevisionDescription.cmake"
    }
  ]
}
