From 3d6cb25e315c0d4249c5c749a2eb8c64ec463aad Mon Sep 17 00:00:00 2001 From: Jimmy Praet Date: Sat, 11 Sep 2021 16:21:17 +0200 Subject: Support unprotected file patterns (#16395) Fixes #16381 Note that changes to unprotected files via the web editor still cannot be pushed directly to the protected branch. I could easily add such support for edits and deletes if needed. But for adding, uploading or renaming unprotected files, it is not trivial. * Extract & Move GetAffectedFiles to modules/git --- templates/repo/settings/protected_branch.tmpl | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'templates/repo/settings/protected_branch.tmpl') diff --git a/templates/repo/settings/protected_branch.tmpl b/templates/repo/settings/protected_branch.tmpl index f6ecd67fd2..597567f057 100644 --- a/templates/repo/settings/protected_branch.tmpl +++ b/templates/repo/settings/protected_branch.tmpl @@ -244,6 +244,11 @@

{{.i18n.Tr "repo.settings.protect_protected_file_patterns_desc" | Safe}}

+
+ + +

{{.i18n.Tr "repo.settings.protect_unprotected_file_patterns_desc" | Safe}}

+
-- cgit v1.2.3