diff options
Diffstat (limited to 'upload-pack.c')
-rw-r--r-- | upload-pack.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/upload-pack.c b/upload-pack.c index d35c0685ce..9edbf51dc5 100644 --- 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(); |