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
This commit is contained in:
Joseph Mingrone 2018-01-01 18:52:11 +00:00
parent c13ca724b4
commit 7c094af40f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=457790
2 changed files with 37 additions and 0 deletions

1
.gitattributes vendored
View File

@ -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

36
.gitmessage Normal file
View File

@ -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
# -------------------------------------------------------------------------