X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/fb3b94710febc3fb456201ce3486d09f65d0946f..bdae1d8a8d39206ac75ab86f8e9ef53b2f29432e:/ui-commit.c?ds=sidebyside
diff --git a/ui-commit.c b/ui-commit.c
index a69dec6..74f37c8 100644
--- a/ui-commit.c
+++ b/ui-commit.c
@@ -39,7 +39,7 @@ void cgit_print_commit(char *hex, const char *prefix)
format_note(NULL, sha1, ¬es, PAGE_ENCODING, 0);
load_ref_decorations(DECORATE_FULL_REFS);
-
+
cgit_print_diff_ctrls();
html("
\n");
html("| author | ");
@@ -75,7 +75,7 @@ void cgit_print_commit(char *hex, const char *prefix)
cgit_tree_link(prefix, NULL, NULL, ctx.qry.head, tmp, prefix);
}
html(" |
\n");
- for (p = commit->parents; p ; p = p->next) {
+ for (p = commit->parents; p; p = p->next) {
parent = lookup_commit_reference(p->item->object.sha1);
if (!parent) {
html("| ");
@@ -106,7 +106,7 @@ void cgit_print_commit(char *hex, const char *prefix)
html(" |
\n");
html("");
if (ctx.repo->commit_filter)
- cgit_open_filter(ctx.repo->commit_filter, ctx.repo);
+ cgit_open_filter(ctx.repo->commit_filter);
html_txt(info->subject);
if (ctx.repo->commit_filter)
cgit_close_filter(ctx.repo->commit_filter);
@@ -114,7 +114,7 @@ void cgit_print_commit(char *hex, const char *prefix)
html("
");
html("");
if (ctx.repo->commit_filter)
- cgit_open_filter(ctx.repo->commit_filter, ctx.repo);
+ cgit_open_filter(ctx.repo->commit_filter);
html_txt(info->msg);
if (ctx.repo->commit_filter)
cgit_close_filter(ctx.repo->commit_filter);
@@ -123,7 +123,7 @@ void cgit_print_commit(char *hex, const char *prefix)
html("");
html("
");
if (ctx.repo->commit_filter)
- cgit_open_filter(ctx.repo->commit_filter, ctx.repo);
+ cgit_open_filter(ctx.repo->commit_filter);
html_txt(notes.buf);
if (ctx.repo->commit_filter)
cgit_close_filter(ctx.repo->commit_filter);