)]}'
{
  "commit": "b67f6b26e354813d8cd792dcb3eb1a1b60b98a08",
  "tree": "36cb1a253063e6a0c6dc24688532ae9c251f2e96",
  "parents": [
    "6621c838743812aaba96e55cfec8524ea1144c2d"
  ],
  "author": {
    "name": "Derrick Stolee",
    "email": "dstolee@microsoft.com",
    "time": "Fri Sep 21 08:05:26 2018 -0700"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Fri Sep 21 11:36:27 2018 -0700"
  },
  "message": "commit-reach: properly peel tags\n\nThe can_all_from_reach_with_flag() algorithm was refactored in 4fbcca4e\n\"commit-reach: make can_all_from_reach... linear\" but incorrectly\nassumed that all objects provided were commits. During a fetch\nnegotiation, ok_to_give_up() in upload-pack.c may provide unpeeled tags\nto the \u0027from\u0027 array. The current code creates a segfault.\n\nAdd a direct call to can_all_from_reach_with_flag() in \u0027test-tool reach\u0027\nand add a test in t6600-test-reach.sh that demonstrates this segfault.\n\nCorrect the issue by peeling tags when investigating the initial list\nof objects in the \u0027from\u0027 array.\n\nSigned-off-by: Jeff King \u003cpeff@peff.net\u003e\nSigned-off-by: Derrick Stolee \u003cdstolee@microsoft.com\u003e\nSigned-off-by: Junio C Hamano \u003cgitster@pobox.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "86715c103c48b2a81e6f5ee2885af399dcf65abb",
      "old_mode": 33188,
      "old_path": "commit-reach.c",
      "new_id": "e748414d04b4f810e4e1c5647c5f53fb072ffb81",
      "new_mode": 33188,
      "new_path": "commit-reach.c"
    },
    {
      "type": "modify",
      "old_id": "eb2110399829d3b6cfb0c5a20eec7d279e45d0a9",
      "old_mode": 33188,
      "old_path": "t/helper/test-reach.c",
      "new_id": "08d2ea68e8ef117169de928f6279debe8a663931",
      "new_mode": 33188,
      "new_path": "t/helper/test-reach.c"
    },
    {
      "type": "modify",
      "old_id": "d139a00d1dd2bb3a178e65d7cbbce39faf4eff42",
      "old_mode": 33261,
      "old_path": "t/t6600-test-reach.sh",
      "new_id": "ae94b27f70c11dc18c2d5b29fd4d5c211c1eecee",
      "new_mode": 33261,
      "new_path": "t/t6600-test-reach.sh"
    }
  ]
}
