[binutils-gdb(refs/meta/config)] project.config: Set hooks.commit-extra-checker option

Joel Brobecker brobecke@sourceware.org
Mon Aug 10 16:55:39 GMT 2020


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=85efe021adbb34951238dbfc6a1b847dbdc8bdcc

commit 85efe021adbb34951238dbfc6a1b847dbdc8bdcc
Author: Joel Brobecker <brobecker@adacore.com>
Date:   Mon Aug 10 09:51:13 2020 -0700

    project.config: Set hooks.commit-extra-checker option
    
    This points to a script written by Simon Marchi which verifies
    that the commit's author name and email are not "xxx via sourceware",
    which happens when the commit was created via "git am" of a patch
    received via the gdb-patches mailinglist.

Diff:
---
 project.config | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/project.config b/project.config
index deb32005a21..097314e4985 100644
--- a/project.config
+++ b/project.config
@@ -22,6 +22,9 @@
         # modified.
         style-checker = /git/binutils-gdb.git/hooks-bin/style_checker
 
+        # Extra checks on the commits, specific to this repository.
+        commit-extra-checker = /git/binutils-gdb.git/hooks-bin/commit-extra-checker.py
+
         # The URL where we can inspect the commit, inserted in the commit
         # notification email, and also copy sent to the file-commit-cmd.
         commit-url = "https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=%(rev)s"


More information about the Binutils-cvs mailing list