)]}'
{
  "commit": "ee76f92fe883305c1260952f5b325b0503311fc9",
  "tree": "6cea77bd1955070b9f56832d803ac0b70448f59f",
  "parents": [
    "754884255bb580df159e58defa81cdd30b5c430c"
  ],
  "author": {
    "name": "Mike Hommey",
    "email": "mh@glandium.org",
    "time": "Thu Oct 08 11:54:43 2015 +0900"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Tue Jan 12 15:10:01 2016 -0800"
  },
  "message": "notes: allow treeish expressions as notes ref\n\ninit_notes() is the main point of entry to the notes API. It ensures\nthat the input can be used as ref, because it needs a ref to update to\nstore notes tree after modifying it.\n\nThere however are many use cases where notes tree is only read, e.g.\n\"git log --notes\u003d...\".  Any notes-shaped treeish could be used for such\npurpose, but it is not allowed due to existing restriction.\n\nAllow treeish expressions to be used in the case the notes tree is going\nto be used without write \"permissions\".  Add a flag to distinguish\nwhether the notes tree is intended to be used read-only, or will be\nupdated.\n\nWith this change, operations that use notes read-only can be fed any\nnotes-shaped tree-ish can be used, e.g. git log --notes\u003dnotes@{1}.\n\nSigned-off-by: Mike Hommey \u003cmh@glandium.org\u003e\nSigned-off-by: Junio C Hamano \u003cgitster@pobox.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "4b659ac1a6a6c1b57d0cadc5cd69ce6b69525cc1",
      "old_mode": 33188,
      "old_path": "Documentation/pretty-options.txt",
      "new_id": "54b88b6dcaaa5df06fc8dad2e5f5172682269bc9",
      "new_mode": 33188,
      "new_path": "Documentation/pretty-options.txt"
    },
    {
      "type": "modify",
      "old_id": "52aa9af74be8d47780d4762185c5cbe09624b382",
      "old_mode": 33188,
      "old_path": "builtin/notes.c",
      "new_id": "e1556896f9ea653f562e073f9ec23bfdcd0d4d7b",
      "new_mode": 33188,
      "new_path": "builtin/notes.c"
    },
    {
      "type": "modify",
      "old_id": "c4e9bb7f6c0bde97c7c6d34094baa5ef7e318157",
      "old_mode": 33188,
      "old_path": "notes-cache.c",
      "new_id": "5dfc5cbd08e496748880bda6a67264c7d63f68b4",
      "new_mode": 33188,
      "new_path": "notes-cache.c"
    },
    {
      "type": "modify",
      "old_id": "299e34bccc5893529cb5db1abe061529304e6074",
      "old_mode": 33188,
      "old_path": "notes-utils.c",
      "new_id": "24a33616a47737e6ae8cf917080cbb314dcf2762",
      "new_mode": 33188,
      "new_path": "notes-utils.c"
    },
    {
      "type": "modify",
      "old_id": "db77922130b4f7df6ab72122206a76d6c580faac",
      "old_mode": 33188,
      "old_path": "notes.c",
      "new_id": "358e2fdb74eb8cc92f16b33891a9a5f0a508de9c",
      "new_mode": 33188,
      "new_path": "notes.c"
    },
    {
      "type": "modify",
      "old_id": "2a3f92338076ef8e4b8238aaf570c3273b0f28f0",
      "old_mode": 33188,
      "old_path": "notes.h",
      "new_id": "e5d67fd3754aab644791f2062d3789b38cf6bd38",
      "new_mode": 33188,
      "new_path": "notes.h"
    },
    {
      "type": "modify",
      "old_id": "cd70274ea51ac5c5ba6669495b944da5b7b97431",
      "old_mode": 33261,
      "old_path": "t/t3301-notes.sh",
      "new_id": "2d200fdf36c62c12cbbf2a964d3489edef401257",
      "new_mode": 33261,
      "new_path": "t/t3301-notes.sh"
    }
  ]
}
