diff --git a/cgit.mk b/cgit.mk index 746ddae..ff1c6ef 100644 --- a/cgit.mk +++ b/cgit.mk @@ -101,6 +101,7 @@ CGIT_OBJ_NAMES += themed/mincrypt_sha256.o CGIT_THEMED_INPUTS += $(CGIT_PREFIX)themed/base.html CGIT_THEMED_INPUTS += $(CGIT_PREFIX)themed/index.html CGIT_THEMED_INPUTS += $(CGIT_PREFIX)themed/commit.html +CGIT_THEMED_INPUTS += $(CGIT_PREFIX)themed/diff.html CGIT_THEMED_INPUTS += $(CGIT_PREFIX)themed/log.html CGIT_THEMED_INPUTS += $(CGIT_PREFIX)themed/refs.html CGIT_THEMED_INPUTS += $(CGIT_PREFIX)themed/summary.html diff --git a/cmd.c b/cmd.c index 086c812..362ec14 100644 --- a/cmd.c +++ b/cmd.c @@ -85,7 +85,8 @@ static void commit_fn(void) static void diff_fn(void) { - cgit_print_diff(ctx.qry.oid, ctx.qry.oid2, ctx.qry.path, 1, 0); + //cgit_print_diff(ctx.qry.oid, ctx.qry.oid2, ctx.qry.path, 1, 0); + cgit_print_diff_page(); } static void rawdiff_fn(void) diff --git a/themed/commit.html b/themed/commit.html index d7fafde..a3da15e 100644 --- a/themed/commit.html +++ b/themed/commit.html @@ -55,7 +55,7 @@ -