From: Zefram Date: Tue, 20 Apr 2010 12:02:28 GMT Subject: Re: ghost refs Message-ID: <20100420120228.GM17930@lake.fysh.org> In-Reply-To: <20100420115124.GB22907@coredump.intra.peff.net> Jeff King wrote: > 2. Make a refs/dead hierarchy so that the reflogs don't interfere with > new branches. This just pushes off the problem, though, for when > you try to delete "foo/bar" and see that "refs/dead/foo" is already > blocking its spot in the reflog graveyard. This is easily solved by tweaking the name for dead reflogs. logs/dead_refs/foo~ doesn't clash with logs/dead_refs/foo/bar~. You might also want to stick a sequence number into the filename, for when you delete more than one foo/bar branch. -zefram