Re: [PATCH] Record repo.snapshot-prefix in the per-repo config

2018-07-17 Thread Jason A. Donenfeld
Thanks! Applied. Jason ___ CGit mailing list CGit@lists.zx2c4.com https://lists.zx2c4.com/mailman/listinfo/cgit

[PATCH] Record repo.snapshot-prefix in the per-repo config

2018-07-17 Thread Konstantin Ryabitsev
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 --- cgit.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cgit.c b/cgit.c index e2d7891..a39d83a

repo.snapshot-prefix not working

2018-07-17 Thread Konstantin Ryabitsev
Hi, all: Sorry that I didn't catch this earlier, but it looks like repo.snapshot-prefix is not working, at least when I add it to the repo-specific location in repo.git/cgitrc. I would guess this is because the corresponding 'repo.snapshot-prefix' is missing from print_repo() in cgit.c, so this