)]}'
{
  "commit": "7dcb50a04a03a96e7514a8598eaf9bb052af867e",
  "tree": "5eb6d9979045c2eff11fe94cfa066f3cb8c1e5e3",
  "parents": [
    "797f94d3319a6bea2cacce707a6a5ee67f00ea17"
  ],
  "author": {
    "name": "Jonathan Nieder",
    "email": "jrn@google.com",
    "time": "Wed Nov 11 10:42:46 2015 -0800"
  },
  "committer": {
    "name": "Jonathan Nieder",
    "email": "jrn@google.com",
    "time": "Thu Nov 12 14:59:51 2015 -0500"
  },
  "message": "Fallback 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), getRef and getRefs provide\ndifferent results.\n\n\tgetRef: SymbolicRef[HEAD -\u003e refs/heads/master\u003d00000000]\n\tgetRefs and getAdditionalRefs: nothing\n\nexactRef should match the getRef behavior: it is meant to be a\nsimpler, faster version of getRef that lets you search for a ref\nwithout resolving it using the search path without other semantic\nchanges.  But the fallback implementation of exactRef relies on getRefs\nand produces null for this case.\n\nLuckily the in-tree RefDatabase implementations override exactRef and\nget the correct behavior.  But any out-of-tree storage backend that\ndoesn\u0027t inherit from DfsRefDatabase or RefDirectory would still return\nnull when it shouldn\u0027t.\n\nLet the fallback implementation use getRef instead to avoid this.\nThis means that exactRef would waste some effort traversing the ref\nsearch path when the named ref is not found --- but subclasses tend to\noverride exactRef for performance already, so in the default\nimplementation correctness is more important.\n\nBug: 478865\nChange-Id: I60f04e3ce3bf4731640ffd2433d329e621330029\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "ef22fb90fe24572ea887a834d3fd4280999219ce",
      "old_mode": 33188,
      "old_path": "org.eclipse.jgit/src/org/eclipse/jgit/lib/RefDatabase.java",
      "new_id": "b62033cbd2a417fbf79b5c91a3b77b19d47ea1bb",
      "new_mode": 33188,
      "new_path": "org.eclipse.jgit/src/org/eclipse/jgit/lib/RefDatabase.java"
    }
  ]
}
