svn commit: r368736 - head/tools/tools/git/hooks
Alan Somers
asomers at freebsd.org
Mon Dec 28 19:34:28 UTC 2020
On Thu, Dec 17, 2020 at 12:58 PM Ed Maste <emaste at freebsd.org> wrote:
> Author: emaste
> Date: Thu Dec 17 19:58:29 2020
> New Revision: 368736
> URL: https://svnweb.freebsd.org/changeset/base/368736
>
> Log:
> Add initial version of git commit message preparation hook
>
> Start with a slightly modified version of the SVN commit template, to
> allow developers to experiment. This will be updated in the future as
> our process and techniques evolve.
>
> This can be installed by copying or symlinking into the .git/hooks/
> directory.
>
> Feedback from: cem, jhb
> Reviewed by: imp
> Sponsored by: The FreeBSD Foundation
> Differential Revision: https://reviews.freebsd.org/D27633
>
> Added:
> head/tools/tools/git/hooks/
> head/tools/tools/git/hooks/prepare-commit-msg (contents, props changed)
>
Thanks! But how can we use it? Is there a "git config" incantation that
will use this file? Also, this seems too complicated. Git already has a
"config.template" configuration variable. Could we just use that instead,
or does it not work for some reason?
-Alan
More information about the svn-src-all
mailing list