)]}'
{
  "commit": "ddc2a6281595fd24ea01497c496f88c40a59562f",
  "tree": "071cfd96fe12b59ecd55d978b038c28ecbbba4c5",
  "parents": [
    "e131daa4c6baa53aba22e5d8bc1defa83b443bf0"
  ],
  "author": {
    "name": "Martin Erik Werner",
    "email": "martinerikwerner@gmail.com",
    "time": "Tue Feb 04 15:25:19 2014 +0100"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Tue Feb 04 12:08:49 2014 -0800"
  },
  "message": "setup: add abspath_part_inside_repo() function\n\nIn order to extract the part of an absolute path which lies inside the\nrepo, it is not possible to directly use real_path, since that would\ndereference symlinks both outside and inside the work tree.\n\nAdd an abspath_part_inside_repo() function which first checks if the\nwork tree is already the prefix, then incrementally checks each path\nlevel by temporarily NUL-terminating at each \u0027/\u0027 and comparing against\nthe work tree path. If a match is found, it overwrites the input path\nwith the remainder past the work tree (which will be the part inside the\nwork tree).\n\nThis function is currently only intended for use in\n\u0027prefix_path_gently\u0027.\n\nSigned-off-by: Martin Erik Werner \u003cmartinerikwerner@gmail.com\u003e\nReviewed-by: Duy Nguyen \u003cpclouds@gmail.com\u003e\nSigned-off-by: Junio C Hamano \u003cgitster@pobox.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "5432a31b62800bfba4d5a19226946ea30c5446a4",
      "old_mode": 33188,
      "old_path": "setup.c",
      "new_id": "bb8b53190e20f44dfea332536d5453d285aff79b",
      "new_mode": 33188,
      "new_path": "setup.c"
    }
  ]
}
