diff options
context:
space:
mode:
Diffstat (limited to 'source/cgit.c')
-rw-r--r--source/cgit.c10
1 file changed, 5 insertions, 5 deletions
diff --git a/source/cgit.c b/source/cgit.c
index 8601dd0..5806293 100644
--- a/source/cgit.c
+++ b/source/cgit.c
@@ -270,7 +270,7 @@ static void print_repo(FILE *f, struct cgit_repo *repo)
fprintf(f, "repo.logo-link=%s\n", repo->logo_link);
fprintf(f, "repo.enable-remote-branches=%d\n", repo->enable_remote_branches);
fprintf(f, "repo.enable-subject-links=%d\n", repo->enable_subject_links);
- fprintf(f, "repo.enable-trailers=%d\n", repo->enable_trailers);
+ fprintf(f, "repo.enable-commit-trailers=%d\n", repo->enable_commit_trailers);
fprintf(f, "repo.enable-html-serving=%d\n", repo->enable_html_serving);
if (repo->branch_sort == 1)
fprintf(f, "repo.branch-sort=age\n");
@@ -576,8 +576,8 @@ static void apply_config(const char *name, const char *value)
ctx.cfg.enable_remote_branches = atoi(value);
else if (!strcmp(name, "enable-subject-links"))
ctx.cfg.enable_subject_links = atoi(value);
- else if (!strcmp(name, "enable-trailers"))
- ctx.cfg.enable_trailers = atoi(value);
+ else if (!strcmp(name, "enable-commit-trailers"))
+ ctx.cfg.enable_commit_trailers = atoi(value);
else if (!strcmp(name, "enable-html-serving"))
ctx.cfg.enable_html_serving = atoi(value);
else if (!strcmp(name, "enable-tree-linenumbers"))
@@ -1251,8 +1251,8 @@ void cgit_repo_config(struct cgit_repo *repo, const char *name, const char *valu
repo->enable_remote_branches = atoi(value);
else if (!strcmp(name, "enable-subject-links"))
repo->enable_subject_links = atoi(value);
- else if (!strcmp(name, "enable-trailers"))
- repo->enable_trailers = atoi(value);
+ else if (!strcmp(name, "enable-commit-trailers"))
+ repo->enable_commit_trailers = atoi(value);
else if (!strcmp(name, "enable-html-serving"))
repo->enable_html_serving = atoi(value);
else if (!strcmp(name, "branch-sort")) {