diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-11-18 10:15:45 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-11-18 10:15:45 -0800 |
commit | d007dbf7d6d647dbcf0f357545f43f36dec46f3b (patch) | |
tree | 1eccd310908b6cd0853b70f8dedc267a4e23abf7 /upload-pack.c | |
parent | d7d2c87955f7700289c5b516f12579a5be4b879d (diff) | |
download | git-d007dbf7d6d647dbcf0f357545f43f36dec46f3b.tar.gz git-d007dbf7d6d647dbcf0f357545f43f36dec46f3b.tar.xz |
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.
Diffstat (limited to 'upload-pack.c')
-rw-r--r-- | upload-pack.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/upload-pack.c b/upload-pack.c index fd96f3be1..a020d3048 100644 --- a/upload-pack.c +++ b/upload-pack.c @@ -752,7 +752,6 @@ static void upload_pack(void) struct string_list symref = STRING_LIST_INIT_DUP; head_ref_namespaced(find_symref, &symref); - for_each_namespaced_ref(find_symref, &symref); if (advertise_refs || !stateless_rpc) { reset_timeout(); |