From 7c094af40f9b8da765d1ab43e6bd3d4cc3f6ab30 Mon Sep 17 00:00:00 2001 From: Joseph Mingrone Date: Mon, 1 Jan 2018 18:52:11 +0000 Subject: [PATCH] Add a commit template for git commit logs To use this template, run this command from the top of the ports tree. git config commit.template .gitmessage Reviewed by: eadler, mat, krion Differential Revision: https://reviews.freebsd.org/D13677 --- .gitattributes | 1 + .gitmessage | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 .gitmessage diff --git a/.gitattributes b/.gitattributes index fdfe7a72390f..0ac443ee8a36 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,3 +1,4 @@ +.gitmessage svn-properties=fbsd:nokeywords=yes;svn:eol-style=native;svn:mime-type=text/plain bsd.*.mk svn-properties=svn:keywords=FreeBSD=%H;svn:eol-style=native;svn:mime-type=text/plain distinfo* svn-properties=fbsd:nokeywords=yes;svn:eol-style=native;svn:mime-type=text/plain extrapatch-* svn-properties=fbsd:nokeywords=yes;svn:eol-style=native;svn:mime-type=text/plain diff --git a/.gitmessage b/.gitmessage new file mode 100644 index 000000000000..336ac4a7c016 --- /dev/null +++ b/.gitmessage @@ -0,0 +1,36 @@ + + +PR: +Submitted by: +Reported by: +Reviewed by: +Approved by: +Obtained from: +MFC after: +MFH: +Relnotes: +Security: +Sponsored by: +Differential Revision: +# +# Description of fields to fill in above: 76 columns --| +# PR: If and which Problem Report is related. +# Submitted by: If someone else sent in the change. +# Reported by: If someone else reported the issue. +# Reviewed by: If someone else reviewed your modification. +# Approved by: If you needed approval for this commit. +# Obtained from: If the change is from a third party. +# MFC after: N [day[s]|week[s]|month[s]]. Request a reminder email. +# MFH: Ports tree branch name. Request approval for merge. +# Relnotes: Set to 'yes' for mention in release notes. +# Security: Vulnerability reference (one per line) or description. +# Sponsored by: If the change was sponsored by an organization. +# Differential Revision: https://reviews.freebsd.org/D### (*full* phabric URL needed). +# +# See 'Commit Log Messages' in the Committer's Guide for details. +# +# ------------------------------------------------------------------------- +# To use this template, run this command from the top of the ports tree. +# +# git config commit.template .gitmessage +# -------------------------------------------------------------------------