summaryrefslogtreecommitdiff
path: root/Documentation/maintainers/git-hooks-commit-msg
diff options
context:
space:
mode:
authorAlexey Shvetsov <alexxy@gentoo.org>2012-02-05 21:05:48 +0400
committerAlexey Shvetsov <alexxy@gentoo.org>2012-02-05 21:05:48 +0400
commit9b3cafc7efb2c17b0f2baffae530196014967921 (patch)
tree69de693d5d8488a1cfb07ff224ec2a42c0b00299 /Documentation/maintainers/git-hooks-commit-msg
parent0d4a36892a12b23b1eed860793d26fee30bf36ef (diff)
downloadkde-9b3cafc7efb2c17b0f2baffae530196014967921.tar.gz
kde-9b3cafc7efb2c17b0f2baffae530196014967921.tar.bz2
kde-9b3cafc7efb2c17b0f2baffae530196014967921.zip
[metadata] Enable git signed commits by default
Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org>
Diffstat (limited to 'Documentation/maintainers/git-hooks-commit-msg')
-rwxr-xr-xDocumentation/maintainers/git-hooks-commit-msg3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/maintainers/git-hooks-commit-msg b/Documentation/maintainers/git-hooks-commit-msg
index 6906ceaa95a..f659c61667c 100755
--- a/Documentation/maintainers/git-hooks-commit-msg
+++ b/Documentation/maintainers/git-hooks-commit-msg
@@ -31,6 +31,9 @@ elif [[ -n `grep -e '^\[profiles' <<< "$summary"` ]] ; then
elif [[ -n `grep -e '^\[eclass' <<< "$summary"` ]] ; then
# Do not enforce usage of repoman where it makes no sense
exit 0
+elif [[ -n `grep -e '^\[metadata' <<< "$summary"` ]] ; then
+ # Do not enforce usage of repoman where it makes no sense
+ exit 0
elif grep '^NO_REPOMAN' "$FILE" >& /dev/null ; then
# Allow i-know-what-i-am-doing override
sed -i -e '/^NO_REPOMAN/d' "$FILE"