)]}'
{
  "commit": "f23d73e2cf565f3fbafdabbb225b722ba9eacbd4",
  "tree": "fffb8da6f031f4c14c3b5e7335a96ba15a123ad9",
  "parents": [
    "a17c4aa421c99bbc248750635cf8a9a527081bfb"
  ],
  "author": {
    "name": "Matthias Sohn",
    "email": "matthias.sohn@sap.com",
    "time": "Tue Apr 28 14:01:41 2026 +0200"
  },
  "committer": {
    "name": "Matthias Sohn",
    "email": "matthias.sohn@sap.com",
    "time": "Tue Apr 28 14:29:25 2026 +0200"
  },
  "message": "RefDirectory#refreshPathToLooseRef: also refresh loose ref itself\n\nWe observed that newly generated Gerrit auth tokens weren\u0027t visible on\nall pods in an HA deployment of k8s-gerrit.\n\nI debugged resolving loose user refs with core.trustStat \u003d after_open\nand found that we refresh the attributes of all the directories above a\nloose ref by opening an inputstream but we don\u0027t do this on the\nloose ref itself.  It looks like this could cause the issue we observed.\n\nIn the example I debugged it was the user ref refs/users/00/10000000 and\nI found that the attributes of the directories\n  refs/\n  refs/users/\n  refs/users/00\nwere refreshed but the loose ref itself\n  refs/users/00/10000000\nwas not refreshed.\n\nFix this by also opening the ref\u0027s file itself if refreshing its parent\ndirectories succeeded.\n\nChange-Id: I37aaca2a1f448ca9a1caa325a0c18952cc023121\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "9fa3ff3d9fa1115d504e82749e9f8be0559da404",
      "old_mode": 33188,
      "old_path": "org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/RefDirectory.java",
      "new_id": "cbf3566652fc602f068fa68a72c00bea2c0d04e7",
      "new_mode": 33188,
      "new_path": "org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/RefDirectory.java"
    }
  ]
}
