Skip to content

Commit d007dbf

Browse files
committed
Revert "upload-pack: send non-HEAD symbolic refs"
This reverts commit 5e7dcad; 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.
1 parent d7d2c87 commit d007dbf

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

upload-pack.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -752,7 +752,6 @@ static void upload_pack(void)
752752
struct string_list symref = STRING_LIST_INIT_DUP;
753753

754754
head_ref_namespaced(find_symref, &symref);
755-
for_each_namespaced_ref(find_symref, &symref);
756755

757756
if (advertise_refs || !stateless_rpc) {
758757
reset_timeout();

0 commit comments

Comments
 (0)