)]}'
{
  "commit": "a5b3663898d6e45a5d109ce89c516adc2fd4ded2",
  "tree": "52a3a3dfcce6f9d07afc4a92544f5fb6f65cd287",
  "parents": [
    "613a0e52ea11c4496e3e154de192486a18eac2e4"
  ],
  "author": {
    "name": "Jeff King",
    "email": "peff@peff.net",
    "time": "Sun Jul 09 05:58:10 2017 -0400"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Sun Jul 09 09:24:42 2017 -0700"
  },
  "message": "branch: only perform HEAD check for local branches\n\nWhen assembling the ref-filter format to show \"git branch\"\noutput, we put the \"%(if)%(HEAD)\" conditional at the start\nof the overall format. But there\u0027s no point in checking\nwhether a remote branch matches HEAD, as it never will.\nThe check should go inside the local conditional; we\nassemble that format inside the \"local\" strbuf.\n\nBy itself, this is just a minor optimization. But in a\nfuture patch, we\u0027ll need this refactoring to fix\nlocal-branch coloring.\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": "64d3e7d7c9b4bc4c7c2ff8765ddcbabc14875c7b",
      "old_mode": 33188,
      "old_path": "builtin/branch.c",
      "new_id": "5f8b5ada8e209de07551412de7f93d7c04168976",
      "new_mode": 33188,
      "new_path": "builtin/branch.c"
    }
  ]
}
