Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
tree-walk: convert tree entry functions to object_id
[gitweb.git]
/
tag.c
diff --git
a/tag.c
b/tag.c
index a6e0abce67c6b10b37fb9540061e8746dff051ce..db3e31034ca49a35a0919db08429510f636f2586 100644
(file)
--- a/
tag.c
+++ b/
tag.c
@@
-41,7
+41,7
@@
int gpg_verify_tag(const struct object_id *oid, const char *name_to_report,
unsigned long size;
int ret;
- type =
sha1_object_info(oid->hash
, NULL);
+ type =
oid_object_info(oid
, NULL);
if (type != OBJ_TAG)
return error("%s: cannot verify a non-tag object of type %s.",
name_to_report ?