Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
upload-pack: use peel_ref for ref advertisements
[gitweb.git]
/
builtin
/
pack-objects.c
diff --git
a/builtin/pack-objects.c
b/builtin/pack-objects.c
index 782e7d0c38aa939a7db03266c3e6ff4993e4d2bd..035ed3b2d0e21a725c002779aad54987e317cee1 100644
(file)
--- a/
builtin/pack-objects.c
+++ b/
builtin/pack-objects.c
@@
-2033,7
+2033,6
@@
static int add_ref_tag(const char *path, const unsigned char *sha1, int flag, vo
if (!prefixcmp(path, "refs/tags/") && /* is a tag? */
!peel_ref(path, peeled) && /* peelable? */
- !is_null_sha1(peeled) && /* annotated tag? */
locate_object_entry(peeled)) /* object packed? */
add_object_entry(sha1, OBJ_TAG, NULL, 0);
return 0;