1 |
commit: 9b3cafc7efb2c17b0f2baffae530196014967921 |
2 |
Author: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 5 17:05:48 2012 +0000 |
4 |
Commit: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 5 17:05:48 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=9b3cafc7 |
7 |
|
8 |
[metadata] Enable git signed commits by default |
9 |
|
10 |
Signed-off-by: Alexey Shvetsov <alexxy <AT> gentoo.org> |
11 |
|
12 |
--- |
13 |
Documentation/maintainers/git-hooks-commit-msg | 3 +++ |
14 |
metadata/layout.conf | 2 ++ |
15 |
2 files changed, 5 insertions(+), 0 deletions(-) |
16 |
|
17 |
diff --git a/Documentation/maintainers/git-hooks-commit-msg b/Documentation/maintainers/git-hooks-commit-msg |
18 |
index 6906cea..f659c61 100755 |
19 |
--- a/Documentation/maintainers/git-hooks-commit-msg |
20 |
+++ b/Documentation/maintainers/git-hooks-commit-msg |
21 |
@@ -31,6 +31,9 @@ elif [[ -n `grep -e '^\[profiles' <<< "$summary"` ]] ; then |
22 |
elif [[ -n `grep -e '^\[eclass' <<< "$summary"` ]] ; then |
23 |
# Do not enforce usage of repoman where it makes no sense |
24 |
exit 0 |
25 |
+elif [[ -n `grep -e '^\[metadata' <<< "$summary"` ]] ; then |
26 |
+ # Do not enforce usage of repoman where it makes no sense |
27 |
+ exit 0 |
28 |
elif grep '^NO_REPOMAN' "$FILE" >& /dev/null ; then |
29 |
# Allow i-know-what-i-am-doing override |
30 |
sed -i -e '/^NO_REPOMAN/d' "$FILE" |
31 |
|
32 |
diff --git a/metadata/layout.conf b/metadata/layout.conf |
33 |
index 8981450..bbeea52 100644 |
34 |
--- a/metadata/layout.conf |
35 |
+++ b/metadata/layout.conf |
36 |
@@ -7,3 +7,5 @@ update-changelog = false |
37 |
thin-manifests = true |
38 |
# Dont sign thinn manifests. There is no current policy for git commit signing |
39 |
sign-manifests = false |
40 |
+# sign commits using git mechanisms |
41 |
+sign-commits = true |