Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
object: convert parse_object* to take struct object_id
[gitweb.git]
/
builtin
/
log.c
diff --git
a/builtin/log.c
b/builtin/log.c
index d8b56ea4102e4c652c58d70e8883d2e6ee34d20f..8dd4e3daecb02fa781355ae6c814ae3f37b6eee1 100644
(file)
--- a/
builtin/log.c
+++ b/
builtin/log.c
@@
-596,7
+596,7
@@
int cmd_show(int argc, const char **argv, const char *prefix)
rev.shown_one = 1;
if (ret)
break;
- o = parse_object(
t->tagged->oid.hash
);
+ o = parse_object(
&t->tagged->oid
);
if (!o)
ret = error(_("Could not read object %s"),
oid_to_hex(&t->tagged->oid));