Skip to content

Commit

Permalink
Revert "upload-pack: send non-HEAD symbolic refs"
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
gitster committed Nov 18, 2013
1 parent d7d2c87 commit d007dbf
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion upload-pack.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit d007dbf

Please sign in to comment.