)]}'
{
  "commit": "a4d78ce26bf4816d868be21c7355d0e0940460a7",
  "tree": "cc2dadefa0e704d7c6650a3294721d586eb715dc",
  "parents": [
    "0f1dc53f45d307c8342bf547d79695b614cf9c26"
  ],
  "author": {
    "name": "Brandon Williams",
    "email": "bmwill@google.com",
    "time": "Thu Mar 15 10:31:42 2018 -0700"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Thu Mar 15 12:01:09 2018 -0700"
  },
  "message": "remote-curl: don\u0027t request v2 when pushing\n\nIn order to be able to ship protocol v2 with only supporting fetch, we\nneed clients to not issue a request to use protocol v2 when pushing\n(since the client currently doesn\u0027t know how to push using protocol v2).\nThis allows a client to have protocol v2 configured in\n`protocol.version` and take advantage of using v2 for fetch and falling\nback to using v0 when pushing while v2 for push is being designed.\n\nWe could run into issues if we didn\u0027t fall back to protocol v2 when\npushing right now.  This is because currently a server will ignore a request to\nuse v2 when contacting the \u0027receive-pack\u0027 endpoint and fall back to\nusing v0, but when push v2 is rolled out to servers, the \u0027receive-pack\u0027\nendpoint will start responding using v2.  So we don\u0027t want to get into a\nstate where a client is requesting to push with v2 before they actually\nknow how to push using v2.\n\nSigned-off-by: Brandon Williams \u003cbmwill@google.com\u003e\nSigned-off-by: Junio C Hamano \u003cgitster@pobox.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "87f5b77b29c1a8772cf97b5692c1e16abc953479",
      "old_mode": 33188,
      "old_path": "remote-curl.c",
      "new_id": "595447b16eb8b175f481b1c8b6d0704d4fa3d650",
      "new_mode": 33188,
      "new_path": "remote-curl.c"
    },
    {
      "type": "modify",
      "old_id": "124063c2c46f4b0aee3512be6d0118ef386b3fcf",
      "old_mode": 33261,
      "old_path": "t/t5702-protocol-v2.sh",
      "new_id": "56f7c3c326cc045da5d443ff9ad1cb5653fcf21f",
      "new_mode": 33261,
      "new_path": "t/t5702-protocol-v2.sh"
    }
  ]
}
