From: Linus Torvalds Date: Mon, 26 Sep 2005 00:50:33 GMT Subject: Re: Add "git-update-ref" to update the HEAD (or other) ref Message-ID: In-Reply-To: <7vhdc8n2xb.fsf@assigned-by-dhcp.cox.net> On Sun, 25 Sep 2005, Junio C Hamano wrote: > > I'd like to take these patches in two stages (I am not asking > you for a resend): > > - Drop the emulated symlink part from the update-ref.c; have it > graduate to "master" branch and use it in existing scripts. Sure. > - Take the read_ref() change, along with a patch to re-add the > emulated symlink part to update-ref.c (after making its > interpretation to match that of read_ref() -- which requires > the prefix to be exactly "ref: " five bytes); keep it in "pu" > branch a bit longer. I was actually thinking of maybe entirely replacing "read_ref()" with the more powerful "resolve_ref()" - moving resolve_ref() into refs.c. That way there's only one place that knows about the "ref:" thing. But yes, forcing the format to be "ref: " instead of "ref:*" sounds fine. Linus