1 |
commit: c211a5ac856358c7e7fb25f3e83ce65c8080892d |
2 |
Author: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Nov 19 23:28:20 2011 +0000 |
4 |
Commit: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Nov 19 23:28:48 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=c211a5ac |
7 |
|
8 |
[Documentation] Fix 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 d1e5fed..be2d403 100755 |
18 |
--- a/Documentation/maintainers/git-hooks-commit-msg |
19 |
+++ b/Documentation/maintainers/git-hooks-commit-msg |
20 |
@@ -28,6 +28,9 @@ elif [[ -n `grep -e '^\[sets' <<< "$summary"` ]] ; then |
21 |
elif [[ -n `grep -e '^\[profiles' <<< "$summary"` ]] ; then |
22 |
# Do not enforce usage of repoman where it makes no sense |
23 |
exit 0 |
24 |
+elif [[ -n `grep -e '^\[eclass' <<< "$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" |