From 8a48591e90218b797d77ea8a1f50ca9131860b53 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Fri, 16 Oct 2026 06:27:29 -1000 Subject: Indent continuation lines with one tab --- source/filter.h | 6 +++--- source/ui-diff.c | 6 +++--- source/ui-repolist.c | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'source') diff --git a/source/filter.h b/source/filter.h index 2c8e7b7..cb642bc 100644 --- a/source/filter.h +++ b/source/filter.h @@ -33,9 +33,9 @@ struct cgit_exec_filter { }; extern struct cgit_filter *cgit_new_filter(const char *cmd, - filter_type filtertype); + filter_type filtertype); extern void cgit_exec_filter_init(struct cgit_exec_filter *filter, const char *cmd, - const char **argv); + const char **argv); /* * Redirect stdout into the filter and pass it the variadic arguments its type @@ -48,7 +48,7 @@ extern int cgit_close_filter(struct cgit_filter *filter); * Describe the filter the way cgitrc would have configured it. */ extern void cgit_fprintf_filter(struct cgit_filter *filter, FILE *f, - const char *prefix); + const char *prefix); extern void cgit_init_filters(void); extern void cgit_cleanup_filters(void); diff --git a/source/ui-diff.c b/source/ui-diff.c index 805733a..9ea6543 100644 --- a/source/ui-diff.c +++ b/source/ui-diff.c @@ -483,9 +483,9 @@ static void print_diffstat(const struct object_id *old_oid, const struct object_ html("\n"); html("
"); htmlf("%d file%s changed, %d insertion%s, %d deletion%s", - files, files == 1 ? "" : "s", - total_adds, total_adds == 1 ? "" : "s", - total_rems, total_rems == 1 ? "" : "s"); + files, files == 1 ? "" : "s", + total_adds, total_adds == 1 ? "" : "s", + total_rems, total_rems == 1 ? "" : "s"); html("
\n"); } diff --git a/source/ui-repolist.c b/source/ui-repolist.c index 1394048..daf18f5 100644 --- a/source/ui-repolist.c +++ b/source/ui-repolist.c @@ -225,7 +225,7 @@ static void print_repo_row(const char *currenturl, int sublevel) char *repourl; htmlf("", - sublevel ? "sublevel-repo" : "toplevel-repo"); + sublevel ? "sublevel-repo" : "toplevel-repo"); cgit_summary_link(ctx.repo->name, NULL, NULL, NULL); html(""); repourl = cgit_repourl(ctx.repo->url); -- cgit