upload-pack: send non-HEAD symbolic refs

With the same mechanism as used to tell where "HEAD" points at to the other end, we can tell the target of other symbolic refs as well. Signed-off-by: Junio C Hamano <gitster@pobox.com>

Junio C Hamano committed Sep 17, 2013 at 16:21 UTC 5e7dcad771cb873e278a0571b46910d7c32e2f6c
1 file changed +1
upload-pack.c
+1
@@ -798,6 +798,7 @@ static void upload_pack(void)
798 struct string_list symref = STRING_LIST_INIT_DUP;
799
800 head_ref_namespaced(find_symref, &symref);
801 + for_each_namespaced_ref(find_symref, &symref);
802
803 if (advertise_refs || !stateless_rpc) {
804 reset_timeout();