about summary refs log tree commit diff
path: root/ui-commit.c
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2009-08-09 13:46:01 +0200
committerLars Hjemli <hjemli@gmail.com>2009-08-09 13:46:01 +0200
commitdb6303b58883c4417f5bcc0c1ee34fed6553dca3 (patch)
treeef7775ade9eef57c5a878f9588fe545a7da2c952 /ui-commit.c
parentMerge branch 'lh/mimetypes' (diff)
parentcgit.c: allow repo.*-filter options to unset the current default (diff)
downloadcgit-pink-db6303b58883c4417f5bcc0c1ee34fed6553dca3.tar.gz
cgit-pink-db6303b58883c4417f5bcc0c1ee34fed6553dca3.zip
Merge branch 'lh/plugins'
Conflicts:
	cgit.c
	cgit.h
Diffstat (limited to '')
-rw-r--r--ui-commit.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/ui-commit.c b/ui-commit.c
index 9fdb8ee..d6b73ee 100644
--- a/ui-commit.c
+++ b/ui-commit.c
@@ -93,11 +93,19 @@ void cgit_print_commit(char *hex)
 	}
 	html("</table>\n");
 	html("<div class='commit-subject'>");
+	if (ctx.repo->commit_filter)
+		cgit_open_filter(ctx.repo->commit_filter);
 	html_txt(info->subject);
+	if (ctx.repo->commit_filter)
+		cgit_close_filter(ctx.repo->commit_filter);
 	show_commit_decorations(commit);
 	html("</div>");
 	html("<div class='commit-msg'>");
+	if (ctx.repo->commit_filter)
+		cgit_open_filter(ctx.repo->commit_filter);
 	html_txt(info->msg);
+	if (ctx.repo->commit_filter)
+		cgit_close_filter(ctx.repo->commit_filter);
 	html("</div>");
 	if (parents < 3) {
 		if (parents)