My Various Git Projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7d2c87
)
Revert "upload-pack: send non-HEAD symbolic refs"
author
Junio C Hamano
<gitster@pobox.com>
Mon, 18 Nov 2013 18:15:45 +0000
(10:15 -0800)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 18 Nov 2013 18:15:45 +0000
(10:15 -0800)
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.
upload-pack.c
patch
|
blob
|
history
diff --git
a/upload-pack.c
b/upload-pack.c
index
fd96f3b
..
a020d30
100644
(file)
--- 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();