X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/ad006918a570da32457461a5e59289b611d9a732..1c581a072651524f3b0d91f33e22a42c4166dd96:/shared.c diff --git a/shared.c b/shared.c index e216c64..42b2ddc 100644 --- a/shared.c +++ b/shared.c @@ -402,8 +402,8 @@ void cgit_diff_commit(struct commit *commit, filepair_fn fn, const char *prefix) unsigned char *old_sha1 = NULL; if (commit->parents) - old_sha1 = commit->parents->item->object.sha1; - cgit_diff_tree(old_sha1, commit->object.sha1, fn, prefix, + old_sha1 = commit->parents->item->object.oid.hash; + cgit_diff_tree(old_sha1, commit->object.oid.hash, fn, prefix, ctx.qry.ignorews); }