1 |
commit: e7d3496677b69460844d60811ac4afe4dd3d2ae6 |
2 |
Author: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Nov 2 22:29:27 2011 +0000 |
4 |
Commit: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 2 22:29:27 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=e7d34966 |
7 |
|
8 |
[Documentation] Update hook |
9 |
|
10 |
Signed-off-by: Alexey Shvetsov <alexxy <AT> gentoo.org> |
11 |
|
12 |
--- |
13 |
Documentation/maintainers/git-hooks-commit-msg | 3 +++ |
14 |
1 files changed, 3 insertions(+), 0 deletions(-) |
15 |
|
16 |
diff --git a/Documentation/maintainers/git-hooks-commit-msg b/Documentation/maintainers/git-hooks-commit-msg |
17 |
index 80e95f4..d1e5fed 100755 |
18 |
--- a/Documentation/maintainers/git-hooks-commit-msg |
19 |
+++ b/Documentation/maintainers/git-hooks-commit-msg |
20 |
@@ -25,6 +25,9 @@ if [[ -n `grep -e '^\[Documentation' <<< "$summary"` ]] ; then |
21 |
elif [[ -n `grep -e '^\[sets' <<< "$summary"` ]] ; then |
22 |
# Do not enforce usage of repoman where it makes no sense |
23 |
exit 0 |
24 |
+elif [[ -n `grep -e '^\[profiles' <<< "$summary"` ]] ; then |
25 |
+ # Do not enforce usage of repoman where it makes no sense |
26 |
+ exit 0 |
27 |
elif grep '^NO_REPOMAN' "$FILE" >& /dev/null ; then |
28 |
# Allow i-know-what-i-am-doing override |
29 |
sed -i -e '/^NO_REPOMAN/d' "$FILE" |