From: Jeff King Date: Thu, 19 Jul 2012 21:32:25 GMT Subject: [RFC/PATCH 0/3] reflog graveyard Message-ID: <20120719213225.GA20311@sigill.intra.peff.net> In-Reply-To: <20120719115558.GC29774@sigill.intra.peff.net> On Thu, Jul 19, 2012 at 07:55:58AM -0400, Jeff King wrote: > So I think it would be a lot more palatable if we kept reflogs on > deleted branches. That, in turn, has a few open issues, such as how to > manage namespace conflicts (e.g., the fact that a deleted "foo" branch > can conflict with a new "foo/bar" branch). Here is a patch series to address that. I think I have smoothed out most of the rough edges, but I wouldn't be surprised if there are some other corner cases. One that I notice is that "git log -g" will stop walking when it hits a null sha1 in the reflog. [1/3]: retain reflogs for deleted refs [2/3]: teach sha1_name to look in graveyard reflogs [3/3]: add tests for reflogs of deleted refs -Peff