X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=send-pack.c;h=9f9a6e70b8789f63891c5b6e07822c546af8eec4;hb=6d0de319d6249096fe934317e937177d07b1b84f;hp=55d8ff7e102fa6cc369c993035c0579c2d33b775;hpb=434d6ba03122c160f98713a009cf8a32d02982f3;p=git.git diff --git a/send-pack.c b/send-pack.c index 55d8ff7e..9f9a6e70 100644 --- a/send-pack.c +++ b/send-pack.c @@ -181,7 +181,7 @@ static int send_pack(int in, int out, int nr_refspec, char **refspec) int new_refs; /* No funny business with the matcher */ - remote_tail = get_remote_heads(in, &remote_refs, 0, NULL); + remote_tail = get_remote_heads(in, &remote_refs, 0, NULL, 1); get_local_heads(); /* match them up */