)]}'
{
  "commit": "8b23132d5874e1d4245e9cab4c279395f56328c3",
  "tree": "9527000ed34457d27f4f8ae130cea708f58c2e57",
  "parents": [
    "39409b6c04836c0c71dbef80b0f393d2f26df843"
  ],
  "author": {
    "name": "Martin Fick",
    "email": "mfick@nvidia.com",
    "time": "Mon Sep 15 14:48:51 2025 -0700"
  },
  "committer": {
    "name": "Matthias Sohn",
    "email": "matthias.sohn@sap.com",
    "time": "Thu Nov 06 15:41:43 2025 +0100"
  },
  "message": "Avoid reading packed-refs concurrently sometimes\n\nIf the packed-refs file has not changed since a thread has started\nreading and parsing it, do not bother to re-read and re-parse it from\nanother thread as this will just create extra load and likely slow down\nthe current reading/parsing thread only to in theory return the same\nresult. Of course, jgit uses timestamps to identify that a file has not\nchanged since the current thread has started refreshing it, without\nrereading it, so this optimization only comes into play if some form of\ntrusting the packed-refs stats is enabled, otherwise the behavior before\nand after should be similar.\n\nThis duplicate parsing does not synchronize the refresh, and it still\nallows for more then one thread to read/parse the packed-refs file in\nparallel, but only when the file has changed since the current refresh\nstarted. This change does however synchronize creating a\nPackedRefsRefresher which for just long enough to ensure that only one\nis created when only one is needed. This change should result in better\nperformance all while maintaining the same data consistency with respect\nto requests as before.\n\nChange-Id: Ic486e0975a67c6ea493493083411255953fba72e\nSigned-off-by: Martin Fick \u003cmfick@nvidia.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "321584b56b60f0bf382bf6316f5ccc1cf7fb1b56",
      "old_mode": 33188,
      "old_path": "org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/RefDirectory.java",
      "new_id": "1b8fd346e2a67050791f1e2495a35d49f8e6465b",
      "new_mode": 33188,
      "new_path": "org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/RefDirectory.java"
    }
  ]
}
