/
uis
/
git
/
x
/
uis
/
git
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
object: convert parse_object* to take struct object_id
[git/git.git]
/
pretty.c
diff --git
a/pretty.c
b/pretty.c
index
d0f86f5
..
c4a0ace
100644
(file)
--- a/
pretty.c
+++ b/
pretty.c
@@
-1137,7
+1137,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.hash
);
+ parse_object(
&commit->object.oid
);
switch (placeholder[0]) {
case 'H': /* commit hash */