Date: Wed, 16 Dec 2020 11:58:43 -0500 From: Ed Maste <emaste@freebsd.org> To: freebsd-git <freebsd-git@freebsd.org> Subject: Git commit message templates Message-ID: <CAPyFy2DveYMw6VyxT8QwOCNreHTyi6RoYX1EWEfysMEqCpcjZQ@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
I've written up an article on commit messages that's now incorporated into Warner's doc collection, with an intended final destination of the handbook. The current version of that document is here: https://github.com/bsdimp/freebsd-git-docs/blob/main/commit.md One outstanding Git transition item is work on commit message templates. We currently have an SVN template that lists the metadata fields we use, such as PR:, Reviewed by:, and such. Git supports local commit hooks (in .git/hooks) and I've made a trivial port of that to a git commit message preparation hook. I imagine we'd have these in the tree (in tools/tools/git/hooks/) and provide either documentation or a script to install or symlink them into the user's .git/hooks/ directory. The current trivial hook is open in https://reviews.freebsd.org/D27633.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPyFy2DveYMw6VyxT8QwOCNreHTyi6RoYX1EWEfysMEqCpcjZQ>