summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xDocumentation/maintainers/git-hooks-commit-msg3
-rw-r--r--metadata/layout.conf2
2 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/maintainers/git-hooks-commit-msg b/Documentation/maintainers/git-hooks-commit-msg
index 6906ceaa95a..f659c61667c 100755
--- a/Documentation/maintainers/git-hooks-commit-msg
+++ b/Documentation/maintainers/git-hooks-commit-msg
@@ -31,6 +31,9 @@ elif [[ -n `grep -e '^\[profiles' <<< "$summary"` ]] ; then
elif [[ -n `grep -e '^\[eclass' <<< "$summary"` ]] ; then
# Do not enforce usage of repoman where it makes no sense
exit 0
+elif [[ -n `grep -e '^\[metadata' <<< "$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"
diff --git a/metadata/layout.conf b/metadata/layout.conf
index 89814506a50..bbeea52140f 100644
--- a/metadata/layout.conf
+++ b/metadata/layout.conf
@@ -7,3 +7,5 @@ update-changelog = false
thin-manifests = true
# Dont sign thinn manifests. There is no current policy for git commit signing
sign-manifests = false
+# sign commits using git mechanisms
+sign-commits = true