Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
t7406: prefer test_* helper functions to test -[feds]
[gitweb.git]
/
builtin
/
tag.c
diff --git
a/builtin/tag.c
b/builtin/tag.c
index 9919b03b2d601a74639553e8e61baef04ffd7cd9..9a19ffb49f68d7c0318f650d34d0edbcd6db81d3 100644
(file)
--- a/
builtin/tag.c
+++ b/
builtin/tag.c
@@
-313,7
+313,7
@@
static void create_reflog_msg(const struct object_id *oid, struct strbuf *sb)
}
free(buf);
- if ((c = lookup_commit_reference(oid)) != NULL)
+ if ((c = lookup_commit_reference(
the_repository,
oid)) != NULL)
strbuf_addf(sb, ", %s", show_date(c->date, 0, DATE_MODE(SHORT)));
break;
case OBJ_TREE: