Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'master'
[gitweb.git]
/
upload-pack.c
diff --git
a/upload-pack.c
b/upload-pack.c
index c5eff21363245e1febe03aa8d4309f8cbb0cd7fa..be63132804252e9a2f94ce1166ef9fa319a845fd 100644
(file)
--- 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;