Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
sha1-file: convert freshen functions to object_id
[gitweb.git]
/
builtin
/
log.c
diff --git
a/builtin/log.c
b/builtin/log.c
index 411339c1ed22a3fe00309c08b9a007da862051cb..71f68a3e4f59d987c653fb8f32a4d8770e9c6654 100644
(file)
--- a/
builtin/log.c
+++ b/
builtin/log.c
@@
-518,7
+518,7
@@
static int show_tag_object(const struct object_id *oid, struct rev_info *rev)
{
unsigned long size;
enum object_type type;
- char *buf = read_
sha1_file(oid->hash
, &type, &size);
+ char *buf = read_
object_file(oid
, &type, &size);
int offset = 0;
if (!buf)