Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Dec 2020 12:34:15 -0700
From:      Alan Somers <asomers@freebsd.org>
To:        Ed Maste <emaste@freebsd.org>
Cc:        src-committers <src-committers@freebsd.org>, svn-src-all <svn-src-all@freebsd.org>,  svn-src-head <svn-src-head@freebsd.org>
Subject:   Re: svn commit: r368736 - head/tools/tools/git/hooks
Message-ID:  <CAOtMX2gtXVRv6i1iAUE25PLxiGt8SnecykXkfm252c=H2y-b7w@mail.gmail.com>
In-Reply-To: <202012171958.0BHJwT9X079850@repo.freebsd.org>
References:  <202012171958.0BHJwT9X079850@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Dec 17, 2020 at 12:58 PM Ed Maste <emaste@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOtMX2gtXVRv6i1iAUE25PLxiGt8SnecykXkfm252c=H2y-b7w>