Revert "upload-pack: send non-HEAD symbolic refs"
This reverts commit 5e7dcad771cb873e278a0571b46910d7c32e2f6c; there may be unbounded number of symbolic refs in the repository, but the capability header line in the on-wire protocol has a rather low length limit.
Junio C Hamano committed
Nov 18, 2013 at 10:15 UTC
d007dbf7d6d647dbcf0f357545f43f36dec46f3b
1 file changed
-1
upload-pack.c
-1
@@ -752,7 +752,6 @@ static void upload_pack(void)
752
struct string_list symref = STRING_LIST_INIT_DUP;
753
754
head_ref_namespaced(find_symref, &symref);
755
- for_each_namespaced_ref(find_symref, &symref);
755
756
if (advertise_refs || !stateless_rpc) {
757
reset_timeout();