Make ls-remote http://... list HEAD, like for git://...
commitbe885d96fe0ebed47e637f3b0dd24fc5902f7081
authorDaniel Barkalow <barkalow@iabervon.org>
Sat, 26 Apr 2008 19:53:12 +0000 (26 15:53 -0400)
committerJunio C Hamano <gitster@pobox.com>
Sun, 27 Apr 2008 00:36:18 +0000 (26 17:36 -0700)
treeb4c0c29c4b58ffe95c7765ebd38e6089973d7b44
parentc13b2633f49e3e61b37973204793a4d9ef981175
Make ls-remote ... list HEAD, like for git://...

This makes a struct ref able to represent a symref, and makes http.c
able to recognize one, and makes transport.c look for "HEAD" as a ref
in the list, and makes it dereference symrefs for the resulting ref,
if any.

Signed-off-by: Daniel Barkalow <barkalow@iabervon.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
cache.h
http.c
remote.c
remote.h
transport.c