summaryrefslogtreecommitdiff
path: root/Documentation/maintainers/git-hooks-commit-msg
diff options
context:
space:
mode:
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"