)]}'
{
  "commit": "797f94d3319a6bea2cacce707a6a5ee67f00ea17",
  "tree": "8d4a7746dc06ae7f034cb6f38ee49013a74651de",
  "parents": [
    "ee66914e410a258d8d8acd877a97f9152e2c1a41"
  ],
  "author": {
    "name": "Jonathan Nieder",
    "email": "jrn@google.com",
    "time": "Tue Nov 10 15:11:04 2015 -0800"
  },
  "committer": {
    "name": "Jonathan Nieder",
    "email": "jrn@google.com",
    "time": "Wed Nov 11 10:56:39 2015 -0800"
  },
  "message": "RefDirectory.exactRef: Do not ignore symrefs to unborn branch\n\nWhen asked to read a symref pointing to a branch-yet-to-be-born (such\nas HEAD in a newly initialized repository), DfsRepository and\nFileRepository return different results.\n\nFileRepository:\n\n\texactRef(\"HEAD\") \u003d\u003e null\n\nDfsRepository:\n\n\texactRef(\"HEAD\") \u003d\u003e SymbolicRef[HEAD -\u003e refs/heads/master\u003d00000000]\n\ngetRef(\"HEAD\") returns the same as DfsRepository\u0027s exactRef in both\nbackends.\n\nThe intended behavior is the DfsRepository one: exactRef() is supposed\nto be like getRef(), but more exact because it doesn\u0027t need to\ntraverse the search path.\n\nThe discrepancy is because DfsRefDatabase implements exactRef()\ndirectly with the intended semantics, while RefDirectory uses a\nfallback implementation built on top of getRefs().  getRefs() skips\nsymrefs to an unborn branch.\n\nOverride the fallback implementation with a correct implementation\nthat is similar to getRef() to avoid this.  A followup change will fix\nthe fallback.\n\nChange-Id: Ic138a5564a099ebf32248d86b93e2de9ab3c94ee\nReported-by: David Pursehouse \u003cdavid.pursehouse@sonymobile.com\u003e\nImproved-by: Christian Halstrick \u003cchristian.halstrick@sap.com\u003e\nBug: 478865\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "0991598920a2cb3cb2508960d16a479d53496a22",
      "old_mode": 33188,
      "old_path": "org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/file/RefDirectoryTest.java",
      "new_id": "d66753da08c975519c46480e590d047af62c8243",
      "new_mode": 33188,
      "new_path": "org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/file/RefDirectoryTest.java"
    },
    {
      "type": "modify",
      "old_id": "6a04a538ef2ea242f7cb4e4f722ab15a89a8a443",
      "old_mode": 33188,
      "old_path": "org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/RefDirectory.java",
      "new_id": "bb5b0444055d7212e419344c545ed50811188afc",
      "new_mode": 33188,
      "new_path": "org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/RefDirectory.java"
    }
  ]
}
