)]}'
{
  "commit": "cdf2bc632ebc9ef512345fe8e6015edfd367e256",
  "tree": "2215ce9851e621b9f2aa5b073f1f177ea927c5c4",
  "parents": [
    "1c00a47e48d1bad3ca60c4e923d51c4ac6add5b5"
  ],
  "author": {
    "name": "Christian Kujau",
    "email": "lists@nerdbynature.de",
    "time": "Fri Jun 14 18:04:34 2013 -0700"
  },
  "committer": {
    "name": "Michal Marek",
    "email": "mmarek@suse.cz",
    "time": "Mon Jun 24 00:08:01 2013 +0200"
  },
  "message": "scripts/setlocalversion on write-protected source tree\n\nI just stumbled across another[0] issue when scripts/setlocalversion\noperates on a write-protected source tree. Back then[0] the source tree\nwas on an read-only NFS share, so \"test -w\" was introduced before \"git\nupdate-index\" was run.\n\nThis time, the source tree is on read/write NFS share, but the permissions\nare world-readable and only a specific user (or root) can write.\nThus, \"test -w .\" returns \"0\" and then runs \"git update-index\",\nproducing the following message (on a dirty tree):\n\n  fatal: Unable to create \u0027/usr/local/src/linux-git/.git/index.lock\u0027: Permission denied\n\nWhile it says \"fatal\", compilation continues just fine.\n\nHowever, I don\u0027t think a kernel compilation should alter the source\ntree (or the .git directory) in any way and I don\u0027t see how removing\n\"git update-index\" could do any harm. The Mercurial and SVN routines in\nscripts/setlocalversion don\u0027t have any tree-modifying commands, AFAICS.\nSo, maybe the patch below would be acceptable.\n\n[0] https://patchwork.kernel.org/patch/29718/\n\nSigned-off-by: Christian Kujau \u003clists@nerdbynature.de\u003e\nCc: Nico Schottelius \u003cnico-linuxsetlocalversion@schottelius.org\u003e\nSigned-off-by: Michal Marek \u003cmmarek@suse.cz\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "84b88f109b80fcc2d7e25e594431bf3a6374962c",
      "old_mode": 33261,
      "old_path": "scripts/setlocalversion",
      "new_id": "d105a44b68f664a55559e38217dcf27ccf025b70",
      "new_mode": 33261,
      "new_path": "scripts/setlocalversion"
    }
  ]
}
