From: Junio C Hamano Date: Fri, 20 Jul 2012 15:42:57 GMT Subject: Re: [PATCH 1/3] retain reflogs for deleted refs Message-ID: <7vliietp4u.fsf@alter.siamese.dyndns.org> In-Reply-To: <20120720144337.GA31946@sigill.intra.peff.net> Jeff King writes: > But it would mean that you cannot naively run > > echo $sha1 >.git/refs/heads/foo > > anymore. I suspect that the packed-refs conversion rooted out many > scripts that did not use update-ref and rev-parse to access refs, but > the above does still work today. So I suspect there would be some > fallout. Not to mention that older versions of git would be completely > broken, which would mean we need a lengthy deprecation period while > everybody upgrades to versions of git that support the reading side. We have that "core.repositoryversion" thing, so we could treat it just like "update-index --index-version 4" to make it a "flag day event for each repository, on the day of end-user's choice".