)]}'
{
  "commit": "eaa7b361c3cf3040503d9b12a5281455acb3a8ba",
  "tree": "283ca9f281d9948d9303c1bb86191ce7468670bc",
  "parents": [
    "929833bd0044012a51dddea38954d35ca1ef2235"
  ],
  "author": {
    "name": "Thomas Broyer",
    "email": "t.broyer@ltgt.net",
    "time": "Thu Oct 07 13:12:35 2021 +0200"
  },
  "committer": {
    "name": "Thomas Broyer",
    "email": "t.broyer@ltgt.net",
    "time": "Thu Oct 07 13:19:34 2021 +0200"
  },
  "message": "Fix compatibility with git-lfs v3\n\ngit-lfs v3 introduced a breaking change in the way\nit calls git-lfs-authenticate over SSH [1,2] in that,\nfor ssh:// URLs like the ones used with Gerrit (to\nspecify the custom 29418 port) it will no longer\nstrip the first \"/\", so it\u0027ll pass \"/projectname\"\nwhen git-lfs v2 passed \"projectname\".\nThis results in the generated token to later be\nrejected at the HTTP endpoints because the \u0027project\u0027\ndoesn\u0027t match.\nThe fix here is to simply strip the leading \"/\", if\nany, in the git-lfs-authenticate command.\n\n[1] https://github.com/git-lfs/git-lfs/blob/main/CHANGELOG.md#300-24-sep-2021\n[2] https://github.com/git-lfs/git-lfs/commit/a0190a60205bc6223d1d9028c34585583721c7ee\n\nBug: Issue 15139\nChange-Id: I875c460ee969a0c6740af6054a5a84d9ca354d1b\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "3dd7a86ce849a04872f4371ef528cc4cc23f1677",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/lfs/auth/LfsSshAuth.java",
      "new_id": "16f204a20a75c60bb6dd45df41b7c1df794194a7",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/lfs/auth/LfsSshAuth.java"
    }
  ]
}
