)]}'
{
  "commit": "0fc8b05a71054311c6290f6408386f7c48409724",
  "tree": "7baa01c22198365a299752f886cad0793f2f45fc",
  "parents": [
    "da178eedd284c1e9ad87191d287939329ea8d0a5"
  ],
  "author": {
    "name": "Christian Halstrick",
    "email": "christian.halstrick@sap.com",
    "time": "Thu Nov 06 17:58:01 2014 +0100"
  },
  "committer": {
    "name": "Matthias Sohn",
    "email": "matthias.sohn@sap.com",
    "time": "Wed Nov 12 00:41:35 2014 +0100"
  },
  "message": "Introduce config parameter core.trustfolderstat\n\nJGit\u0027s ObjectDirectory implements the optimization that it remembers the\npack folders (.git/objects/pack) lastModified timestamp and doesn\u0027t\ncheck for new packfiles in this folder if the lastModified attribute has\nnot changed.\nIn environments using NFS this can cause trouble. If multiple JGit\ninstances from multiple machines work on the same repository and one\ninstance creates a new ref and a new packfile (e.g. by doing a fetch)\nthen the other machines may detect the new ref but can\u0027t resolve the\nreferenced object because it doesn\u0027t detect that pack folder has a new\npackfile. That\u0027s because NFS may cache file/folder metadata for quite a\nlong time and the pack folders modification time is not updated although\na new packfile is there and could be read.\n\nThe new config parameter core.trustfolderstat controls this behaviour.\nThe default is true and jgits behaviours is unchanged. But if this\nparameter is set to false then jgit doesn\u0027t trust the pack directories\nlastmodified anymore. Instead it will always iterate through the content\nof that folder to detect new packfiles.\n\nChange-Id: Ie3b4e92933286aa9916070a22422e629b3147f54\nSigned-off-by: Matthias Sohn \u003cmatthias.sohn@sap.com\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "882f5c8a45caaf85cb59d813b70f71f5f4825fc0",
      "old_mode": 33188,
      "old_path": "org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/ObjectDirectory.java",
      "new_id": "48a6b9d677c8cca09c0f5f2aedab15c28631567e",
      "new_mode": 33188,
      "new_path": "org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/ObjectDirectory.java"
    },
    {
      "type": "modify",
      "old_id": "8eeb2edaf54ac9a5e86b9922a13393f1480ee60a",
      "old_mode": 33188,
      "old_path": "org.eclipse.jgit/src/org/eclipse/jgit/lib/ConfigConstants.java",
      "new_id": "ccbfed720ad85ce0699ccd2cc1ff1808a7b2689e",
      "new_mode": 33188,
      "new_path": "org.eclipse.jgit/src/org/eclipse/jgit/lib/ConfigConstants.java"
    }
  ]
}
