Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
diff: convert diff_change to struct object_id
[gitweb.git]
/
tree-diff.c
diff --git
a/tree-diff.c
b/tree-diff.c
index f2c747ea509bf69d7fdadbd16a383e59b2324b2e..7ae1f10b2ee43f82988eef6dbededaad276bfb94 100644
(file)
--- a/
tree-diff.c
+++ b/
tree-diff.c
@@
-74,7
+74,7
@@
static int emit_diff_first_parent_only(struct diff_options *opt, struct combine_
{
struct combine_diff_parent *p0 = &p->parent[0];
if (p->mode && p0->mode) {
- opt->change(opt, p0->mode, p->mode,
p0->oid.hash, p->oid.hash
,
+ opt->change(opt, p0->mode, p->mode,
&p0->oid, &p->oid
,
1, 1, p->path, 0, 0);
}
else {