Diff options
| author | Bryce Kwon <bryce@brycekwon.com> | |
|---|---|---|
| committer | Bryce Kwon <bryce@brycekwon.com> | |
| commit | ||
| parent | ||
| tree | ||
| download | ||
Offer the versions as an option
enable-version-info brings back the cgit and git versions that 872bd7c
took off the footer and the generator tag, for a site that wants them,
and the version f7d2b83 put on the signature of patches now follows it
too. It stays off by default for the reason 872bd7c gave.
Diffstat (limited to 'source/cgit.c')
| -rw-r--r-- | source/cgit.c | 2 |
1 file changed, 2 insertions, 0 deletions
diff --git a/source/cgit.c b/source/cgit.c index efcb703..eaf1d19 100644 --- a/source/cgit.c +++ b/source/cgit.c @@ -586,6 +586,8 @@ static void apply_config(const char *name, const char *value) ctx.cfg.enable_html_serving = atoi(value); else if (!strcmp(name, "enable-tree-linenumbers")) ctx.cfg.enable_tree_linenumbers = atoi(value); + else if (!strcmp(name, "enable-version-info")) + ctx.cfg.enable_version_info = atoi(value); else if (!strcmp(name, "enable-tree-group-dirs")) ctx.cfg.enable_tree_group_dirs = atoi(value); else if (!strcmp(name, "enable-git-config")) |
