summaryrefslogtreecommitdiffstats
path: root/development/cgit/patches/0001-record.repo.snapshot-prefix.in.the.per-repo.config.patch
diff options
context:
space:
mode:
Diffstat (limited to 'development/cgit/patches/0001-record.repo.snapshot-prefix.in.the.per-repo.config.patch')
-rw-r--r--development/cgit/patches/0001-record.repo.snapshot-prefix.in.the.per-repo.config.patch27
1 files changed, 0 insertions, 27 deletions
diff --git a/development/cgit/patches/0001-record.repo.snapshot-prefix.in.the.per-repo.config.patch b/development/cgit/patches/0001-record.repo.snapshot-prefix.in.the.per-repo.config.patch
deleted file mode 100644
index 780684712f..0000000000
--- a/development/cgit/patches/0001-record.repo.snapshot-prefix.in.the.per-repo.config.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-Konstantin Ryabitsev konstantin at linuxfoundation.org
-Tue Jul 17 18:38:22 CEST 2018
-
-Even if we find snapshot-prefix in the repo configuration, we are not
-writing it out into the rc- file, so setting the value does not have any
-effect.
-
-Signed-off-by: Konstantin Ryabitsev <konstantin at linuxfoundation.org>
----
- cgit.c | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/cgit.c b/cgit.c
-index e2d7891..a39d83a 100644
---- a/cgit.c
-+++ b/cgit.c
-@@ -830,6 +830,8 @@ static void print_repo(FILE *f, struct cgit_repo *repo)
- fprintf(f, "repo.snapshots=%s\n", tmp ? tmp : "");
- free(tmp);
- }
-+ if (repo->snapshot_prefix)
-+ fprintf(f, "repo.snapshot-prefix=%s\n", repo->snapshot_prefix);
- if (repo->max_stats != ctx.cfg.max_stats)
- fprintf(f, "repo.max-stats=%s\n",
- cgit_find_stats_periodname(repo->max_stats));
---
-2.17.1