)]}'
{
  "commit": "e01de1c9122c3cba118da19fe0ba0ce913fa7285",
  "tree": "771e254d2c8f33f3bb91512f6f04d68a17078f30",
  "parents": [
    "011c181cc656c8b3e48882729d1b6238e8c5c537"
  ],
  "author": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Mon Mar 15 22:12:55 2010 -0700"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Mon Mar 15 23:37:42 2010 -0700"
  },
  "message": "refs: ref entry with NULL sha1 is can be a dangling symref\n\nBrandon Casey noticed that t5505 had accidentally broken its \u0026\u0026 chain,\nhiding inconsistency between the code that writes the warning to the\nstandard output and the test that expects to see the warning on the\nstandard error, which was introduced by f8948e2 (remote prune: warn\ndangling symrefs, 2009-02-08).\n\nIt turns out that the issue is deeper than that.  After f8948e2, a symref\nthat is dangling is marked with a NULL sha1, and the idea of using NULL\nsha1 to mean a deleted ref was scrapped, but somehow a follow-up eafb452\n(do_one_ref(): null_sha1 check is not about broken ref, 2009-07-22)\nincorrectly reorganized do_one_ref(), still thinking NULL sha1 is never\nused in the code.\n\nFix this by:\n\n - adopt Brandon\u0027s fix to t5505 test;\n\n - introduce REF_BROKEN flag to mark a ref that fails to resolve (dangling\n   symref);\n\n - move the check for broken ref back inside the \"if we are skipping\n   dangling refs\" code block.\n\nSigned-off-by: Junio C Hamano \u003cgitster@pobox.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "3da3c8cefcbe123485fb5a68f2406488275ce43b",
      "old_mode": 33188,
      "old_path": "refs.c",
      "new_id": "9c12f5ea8c92452d892f5b7ce70757e2114d338f",
      "new_mode": 33188,
      "new_path": "refs.c"
    },
    {
      "type": "modify",
      "old_id": "e70246b3fb5f0040a65db953b0adee7ada2d51ed",
      "old_mode": 33261,
      "old_path": "t/t5505-remote.sh",
      "new_id": "98e8ec03d3f1abb22d58bdf8adbb952414f0c59b",
      "new_mode": 33261,
      "new_path": "t/t5505-remote.sh"
    }
  ]
}
