Add support for 'remove-suffix' option

When this option is enabled, the '.git' suffix of repository directories
found while processing the 'scan-path' option will be removed.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
This commit is contained in:
Jason A. Donenfeld
2010-07-29 19:47:50 +02:00
committed by Lars Hjemli
parent 3516502aa0
commit 2e4a941626
4 changed files with 13 additions and 0 deletions

1
cgit.h
View File

@ -202,6 +202,7 @@ struct cgit_config {
int noplainemail;
int noheader;
int renamelimit;
int remove_suffix;
int snapshots;
int summary_branches;
int summary_log;