Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Don't special-case a zero-sized compression.
[gitweb.git]
/
upload-pack.c
diff --git
a/upload-pack.c
b/upload-pack.c
index d35c0685ce2269cec48d19fbf6b0499374a34b7e..9edbf51dc5aac854943ad34c001b11850000e2a7 100644
(file)
--- a/
upload-pack.c
+++ b/
upload-pack.c
@@
-153,6
+153,7
@@
static int send_ref(const char *refname, const unsigned char *sha1)
static int upload_pack(void)
{
+ head_ref(send_ref);
for_each_ref(send_ref);
packet_flush(1);
nr_needs = receive_needs();