This series cleans up the area that was affected by the recent addition of "packed-refs". Christian Couder and Jeff King CC'ed since they seem to be touching in the general vicinity of the code these patches touch. [1/6] ref locking: allow 'foo' when 'foo/bar' used to exist but not anymore. [2/6] refs: minor restructuring of cached refs data. [3/6] lock_ref_sha1(): do not sometimes error() and sometimes die(). [4/6] lock_ref_sha1(): check D/F conflict with packed ref when creating. [5/6] delete_ref(): delete packed ref [6/6] git-branch: remove D/F check done by hand. I opted for removing from the packed-ref file when a ref that is packed is deleted. - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html