FYI: git-hooks update on sourceware.org

Joel Brobecker
2020-08-07T15:44:25Z

Hey Team,

Just to let you know, I've just done an update of the git-hooks
installed on sourceware.org and used by our binutils-gdb repository.

I've also undone a change that was made locally by Frank ages ago
which I am hoping is no longer necessary:

-exec git-update-server-info
+exec git update-server-info

This update brings a series of improvements made mostly in order to
answer GCC's specific needs. If you're curious about the list of
changes, you can have a look at the list of changes made since
commit 087a8bcdf0de43bc196ccdf83c2f572fef604f75 at
https://github.com/adacore/git-hooks.

One of the enhancements this update does bring is the ability to
provide custom commit validation, something I believe Simon asked
about, to prevent us from pushing commits we "git am"-ed using
an Author set to "xxx via Gdb-patches <gdb-patches@...>". Take
a look at the hooks.commit-extra-checker option in the doc. If
someone writes the script, I can get it installed.

These changes have been extensively tested, and we've been using
the same version at AdaCore for over a week, now; but do let me
know if you have any issues.

--
Joel