Re: [PATCH 4/4] server info: Add HEAD to info/refs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Apr 27, 2007 at 05:51:36AM CEST, Junio C Hamano wrote:
> I always considered it was a bug that the native transport sends
> SHA-1 of HEAD after dereferencing the symref, instead of saying
> which branch it points at.

Yes, you are right. That was what I was originally after, but then got
sidetracked into working on something else and this easy bit was the
only thing left done, so I just passed it along. :)

> How about proceeding along these lines?

Looks generally good.

>  * We add native protocol extension to let upload-pack to say
>    what HEAD symref points at, in addition to the SHA-1 HEAD
>    points at.  Update peek-remote to show this information like
>    this:
> 
> 	->refs/heads/master<TAB>HEAD<LF>
>         0d5e6c97...<TAB>HEAD<LF>
> 	...

Yet another obscure syntax? Why not just reusing the actual ref: syntax?

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
Ever try. Ever fail. No matter. // Try again. Fail again. Fail better.
		-- Samuel Beckett
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]