summaryrefslogtreecommitdiffstats
path: root/custom/conf
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2020-01-22 23:46:46 +0000
committerGitHub <noreply@github.com>2020-01-22 23:46:46 +0000
commitc8d7ae1ee33e31ed15632a26c74ba9a3ea115043 (patch)
treef26103ff819952d2875a48ce0b1fe99417ad2bbd /custom/conf
parent608cd58db670b061ca898930401458b30264a6c9 (diff)
downloadgitea-c8d7ae1ee33e31ed15632a26c74ba9a3ea115043.tar.gz
gitea-c8d7ae1ee33e31ed15632a26c74ba9a3ea115043.zip
Make archive prefixing configurable with a global setting (#9943)
* Allow archive prefix setting * Update copyright * Update copyright
Diffstat (limited to 'custom/conf')
-rw-r--r--custom/conf/app.ini.sample2
1 files changed, 2 insertions, 0 deletions
diff --git a/custom/conf/app.ini.sample b/custom/conf/app.ini.sample
index f0829f37b3..b0aafb8b31 100644
--- a/custom/conf/app.ini.sample
+++ b/custom/conf/app.ini.sample
@@ -49,6 +49,8 @@ DISABLED_REPO_UNITS =
; External wiki and issue tracker can't be enabled by default as it requires additional settings.
; Disabled repo units will not be added to new repositories regardless if it is in the default list.
DEFAULT_REPO_UNITS = repo.code,repo.releases,repo.issues,repo.pulls,repo.wiki
+; Prefix archive files by placing them in a directory named after the repository
+PREFIX_ARCHIVE_FILES = true
[repository.editor]
; List of file extensions for which lines should be wrapped in the CodeMirror editor