)]}'
{
  "commit": "ae989a61dad98debe9899823ca987305f8e8020d",
  "tree": "72cf418dce266b14852818aacc09953f6ecef187",
  "parents": [
    "adb3356664fbf15646fd90eb1d5ddd9e66ce913f"
  ],
  "author": {
    "name": "Jeff King",
    "email": "peff@peff.net",
    "time": "Thu Jun 23 13:33:57 2016 -0400"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Thu Jun 23 11:32:51 2016 -0700"
  },
  "message": "add skip_prefix_mem helper\n\nThe skip_prefix function has been very useful for\nsimplifying pointer arithmetic and avoiding repeated magic\nnumbers, but we have no equivalent for length-limited\nbuffers. So we\u0027re stuck with:\n\n  if (3 \u003c\u003d len \u0026\u0026 skip_prefix(buf, \"foo\", \u0026buf))\n\t  len -\u003d 3;\n\nThat\u0027s not that complicated, but it needs to use magic\nnumbers for the length of the prefix (or else write out\nstrlen(\"foo\"), repeating the string). By using a helper, we\ncan get the string length behind the scenes (and often at\ncompile time for string literals).\n\nSigned-off-by: Jeff King \u003cpeff@peff.net\u003e\nSigned-off-by: Junio C Hamano \u003cgitster@pobox.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "061e33c7749dc496e1f5e78aabdfd4c6f1e82736",
      "old_mode": 33188,
      "old_path": "git-compat-util.h",
      "new_id": "8e808c01d2508edd4d59994d4714486a13afeb42",
      "new_mode": 33188,
      "new_path": "git-compat-util.h"
    }
  ]
}
