)]}'
{
  "commit": "d38208a297e76bbfbfa8e485632c217aaafa9486",
  "tree": "4f53244e4919935f4a03b951e879162a0f86ba57",
  "parents": [
    "86dca24b7be6491fb8d4b7a499ccf4a43776d1ab"
  ],
  "author": {
    "name": "Yang Zhao",
    "email": "yang.zhao@skyboxlabs.com",
    "time": "Fri Dec 13 15:52:40 2019 -0800"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Wed Jan 15 12:53:40 2020 -0800"
  },
  "message": "git-p4: convert path to unicode before processing them\n\nP4 allows essentially arbitrary encoding for path data while we would\nperfer to be dealing only with unicode strings.  Since path data need to\nsurvive round-trip back to p4, this patch implements the general policy\nthat we store path data as-is, but decode them to unicode before doing\nany non-trivial processing.\n\nA new `decode_path()` method is provided that generally does the correct\nconversion, taking into account `git-p4.pathEncoding` configuration.\n\nFor python2.7, path strings will be left as-is if it only contains ASCII\ncharacters.\n\nFor python3, decoding is always done so that we have str objects.\n\nSigned-off-by: Yang Zhao \u003cyang.zhao@skyboxlabs.com\u003e\nReviewed-by: Ben Keene \u003cseraphire@gmail.com\u003e\nSigned-off-by: Junio C Hamano \u003cgitster@pobox.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "d62fb05989f4d91b0be374d6c65355260ca8838d",
      "old_mode": 33261,
      "old_path": "git-p4.py",
      "new_id": "d43f373b2d06d445c546ee723db3a55be851f474",
      "new_mode": 33261,
      "new_path": "git-p4.py"
    }
  ]
}
