-rw-r--r-- | shared.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -340,3 +340,3 @@ void cgit_diff_tree(const unsigned char *old_sha1, -void cgit_diff_commit(struct commit *commit, filepair_fn fn) +void cgit_diff_commit(struct commit *commit, filepair_fn fn, const char *prefix) { @@ -346,3 +346,3 @@ void cgit_diff_commit(struct commit *commit, filepair_fn fn) old_sha1 = commit->parents->item->object.sha1; - cgit_diff_tree(old_sha1, commit->object.sha1, fn, NULL, + cgit_diff_tree(old_sha1, commit->object.sha1, fn, prefix, ctx.qry.ignorews); |