X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=upload-pack.c;h=be63132804252e9a2f94ce1166ef9fa319a845fd;hb=3c07b1d19491aa9acb9f8e86486f0b80f976edf9;hp=c5eff21363245e1febe03aa8d4309f8cbb0cd7fa;hpb=1f5881bb5f4da97d0bb23024ae91079137326c7e;p=git.git diff --git a/upload-pack.c b/upload-pack.c index c5eff213..be631328 100644 --- a/upload-pack.c +++ b/upload-pack.c @@ -226,7 +226,7 @@ static int send_ref(const char *refname, const unsigned char *sha1) nr_our_refs++; } if (o->type == tag_type) { - o = deref_tag(o); + o = deref_tag(o, refname, 0); packet_write(1, "%s %s^{}\n", sha1_to_hex(o->sha1), refname); } return 0;