Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
object: add repository argument to object_as_type
[gitweb.git]
/
pretty.c
diff --git
a/pretty.c
b/pretty.c
index 703fa6ff7bf297e9d0dd91586f951f715032e06a..cbd25b6ceae29dcac5cce45cd48322602018ee7e 100644
(file)
--- a/
pretty.c
+++ b/
pretty.c
@@
-1146,7
+1146,7
@@
static size_t format_commit_one(struct strbuf *sb, /* in UTF-8 */
/* these depend on the commit */
if (!commit->object.parsed)
- parse_object(&commit->object.oid);
+ parse_object(
the_repository,
&commit->object.oid);
switch (placeholder[0]) {
case 'H': /* commit hash */