Re: [PATCH] Proof-of-concept patch to remember what the detached HEAD was
- From
Jeff King <peff@peff.net>
- Date
- Oct 15, 2009, 21:26 UTC
- Message-ID
- <20091015212632.GA13180@coredump.intra.peff.net>
- In-Reply-To
- <7v1vl45t9k.fsf@alter.siamese.dyndns.org>
On Thu, Oct 15, 2009 at 12:52:55PM -0700, Junio C Hamano wrote:
> I like James's suggestion to allow us to store refs other than refs/heads/ > in HEAD to denote this state, and keep commit and reset from updating such > a ref through updating HEAD.
Didn't we already consider and reject this the first time around? For example, this thread has a ton of stuff about how we shouldn't prevent people from making commits on the wandering state:
http://thread.gmane.org/gmane.comp.version-control.git/35777/focus=35835
And here's me even advocating this exact strategy (and I'm sure I didn't think of it; it's probably discussed elsewhere, too):
http://thread.gmane.org/gmane.comp.version-control.git/35777/focus=35858
Not that I am not necessarily complaining, but I just hope this decision is "with new-found knowledge we are revisiting this decision" and not "we totally forgot about what came before".
-Peff