)]}'
{
  "commit": "613a0e52ea11c4496e3e154de192486a18eac2e4",
  "tree": "ba35570dbd632ef85686276574abf025a0487296",
  "parents": [
    "ac5bbc02b8c3781d517f1414655270b3fa38b028"
  ],
  "author": {
    "name": "Jeff King",
    "email": "peff@peff.net",
    "time": "Fri May 19 02:12:12 2017 -0400"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Sat May 20 18:18:45 2017 +0900"
  },
  "message": "ref-filter: resolve HEAD when parsing %(HEAD) atom\n\nIf the user asks to display (or sort by) the %(HEAD) atom,\nref-filter has to compare each refname to the value of HEAD.\nWe do so by resolving HEAD fresh when calling populate_value()\non each ref. If there are a large number of refs, this can\nhave a measurable impact on runtime.\n\nInstead, let\u0027s resolve HEAD once when we realize we need the\n%(HEAD) atom, allowing us to do a simple string comparison\nfor each ref. On a repository with 3000 branches (high, but\nan actual example found in the wild) this drops the\nbest-of-five time to run \"git branch \u003e/dev/null\" from 59ms\nto 48ms (~20% savings).\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": "2a94d6da98a210577850cc832f64fed346df89c6",
      "old_mode": 33188,
      "old_path": "ref-filter.c",
      "new_id": "f4c68237275d49af3f1665f40788bc8287e3f879",
      "new_mode": 33188,
      "new_path": "ref-filter.c"
    }
  ]
}
