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-msg2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/maintainers/git-hooks-commit-msg b/Documentation/maintainers/git-hooks-commit-msg
index f659c61667c..09f96644625 100755
--- a/Documentation/maintainers/git-hooks-commit-msg
+++ b/Documentation/maintainers/git-hooks-commit-msg
@@ -38,7 +38,7 @@ elif grep '^NO_REPOMAN' "$FILE" >& /dev/null ; then
# Allow i-know-what-i-am-doing override
sed -i -e '/^NO_REPOMAN/d' "$FILE"
exit 0
-elif ! grep '^(Portage version' "$FILE" >& /dev/null ; then
+elif ! grep '^Package-Manager' "$FILE" >& /dev/null ; then
die 'Please use repoman to commit'
fi