)]}'
{
  "commit": "7df024b2761d5604ca8a63e0cc2324ce2f477c6f",
  "tree": "2dd72e76a29da63ccf439f35b0019d33af1af657",
  "parents": [
    "2149b085b147539e333f47ee3723e6ae9cbbcecc"
  ],
  "author": {
    "name": "Jonathan Nieder",
    "email": "jrn@google.com",
    "time": "Wed Jun 20 21:19:11 2018 -0700"
  },
  "committer": {
    "name": "Jonathan Nieder",
    "email": "jrn@google.com",
    "time": "Wed Jun 20 21:20:41 2018 -0700"
  },
  "message": "Respect \"unshallow\" lines in protocol v2\n\nIf I run\n\n git config --global protocol.version 2\n mkdir repo\n cd repo\n git init --bare\n git remote add origin https://go.googlesource.com/proposal\n git fetch --depth\u003d1\n git fetch --unshallow\n\nthen I expect to have a full history, just as though I had fetched\nwithout --depth in the first place.  Instead, it reports success\nbut does not fetch enough objects:\n\n $ git fsck\n notice: HEAD points to an unborn branch (master)\n Checking object directories: 100% (256/256), done.\n Checking objects: 100% (468/468), done.\n broken link from  commit 2c6bc83f234085c8eadb7ea33405ce6223c44d1b\n               to  commit 878975cf2b600675b4c905e5d9591bd24541ae9e\n missing commit 878975cf2b600675b4c905e5d9591bd24541ae9e\n dangling commit 314be00dae78dd526851f5635e6349014e2ad0c2\n\nThe false success indicates problems in the client and the server.\nGit 2.18-rc2 (the client) ought to have been more defensive, noticing\nthe incomplete history.  The greater error is in JGit (the server),\nwhich neglects to send the objects requested.\n\nWhen serving protocol v0 requests, JGit sends the correct objects by\ntaking unshallowCommits into account when generating the pack to send\nto the client.  Do the same in the protocol v2 code path.  I forgot to\ndo this in v5.0.0.201806050710-rc3~6 (Teach UploadPack shallow fetch\nin protocol v2, 2018-03-15).\n\nReported-by: Russ Cox \u003crsc@golang.org\u003e\nChange-Id: I282b45f47616a641b9e8d6210b4a070d3efdbb9b\nSigned-off-by: Jonathan Nieder \u003cjrn@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "f70ead9294af047bfe19c3275a40efbb2a46fc47",
      "old_mode": 33188,
      "old_path": "org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPack.java",
      "new_id": "7de0506bb3d6d44749b6388e6abb26f93f6a6f1e",
      "new_mode": 33188,
      "new_path": "org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPack.java"
    }
  ]
}
