summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'local/update-03-filename')
-rwxr-xr-xlocal/update-03-filename6
1 files changed, 3 insertions, 3 deletions
diff --git a/local/update-03-filename b/local/update-03-filename
index a54c88f..adbbc5f 100755
--- a/local/update-03-filename
+++ b/local/update-03-filename
@@ -1,6 +1,6 @@
#!/bin/bash
# gentoo-infra: infra/githooks.git:update-03-filename
-# Copyright 2015-2024 Ulrich Müller and others
+# Copyright 2015-2021 Ulrich Müller and others
# Distributed under the terms of the GNU General Public License v2 or later
# Author: Ulrich Müller <ulm@gentoo.org>
@@ -18,12 +18,12 @@ zeros=0000000000000000000000000000000000000000
[[ ${newrev} == "${zeros}" ]] && exit 0
# no need to check for new branch because we skip non-master commits above
-# Filenames must contain only the characters [A-Za-z0-9._+@-] and must
+# Filenames must contain only the characters [A-Za-z0-9._+-] and must
# not begin with a dot, a hyphen, or a plus sign.
# https://devmanual.gentoo.org/general-concepts/tree/#what-belongs-in-the-tree%3F
# https://devmanual.gentoo.org/ebuild-writing/file-format/#file-naming-rules
export LC_ALL=C
-regex='^([A-Za-z0-9_][A-Za-z0-9._+-]*/)*[A-Za-z0-9_@][A-Za-z0-9._+@-]*$'
+regex='^([A-Za-z0-9_][A-Za-z0-9._+-]*/)*[A-Za-z0-9_][A-Za-z0-9._+-]*$'
exceptions=(
.editorconfig
.mailmap