summaryrefslogtreecommitdiff
path: root/Documentation/maintainers/git-hooks-commit-msg
diff options
context:
space:
mode:
authorAlexey Shvetsov <alexxy@gentoo.org>2011-11-03 02:29:27 +0400
committerAlexey Shvetsov <alexxy@gentoo.org>2011-11-03 02:29:27 +0400
commite7d3496677b69460844d60811ac4afe4dd3d2ae6 (patch)
tree09af97a5a2206f832bf2a26d535ef0729faca493 /Documentation/maintainers/git-hooks-commit-msg
parenta32b2db26da43c92faf43c9078af77dc73a31616 (diff)
downloadkde-e7d3496677b69460844d60811ac4afe4dd3d2ae6.tar.gz
kde-e7d3496677b69460844d60811ac4afe4dd3d2ae6.tar.bz2
kde-e7d3496677b69460844d60811ac4afe4dd3d2ae6.zip
[Documentation] Update hook
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 80e95f4371d..d1e5fed97d7 100755
--- a/Documentation/maintainers/git-hooks-commit-msg
+++ b/Documentation/maintainers/git-hooks-commit-msg
@@ -25,6 +25,9 @@ if [[ -n `grep -e '^\[Documentation' <<< "$summary"` ]] ; then
elif [[ -n `grep -e '^\[sets' <<< "$summary"` ]] ; then
# Do not enforce usage of repoman where it makes no sense
exit 0
+elif [[ -n `grep -e '^\[profiles' <<< "$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"