Browse Source

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
pull/2/head
jrm 2 years ago
parent
commit
567caa7381
2 changed files with 37 additions and 0 deletions
  1. +1
    -0
      .gitattributes
  2. +36
    -0
      .gitmessage

+ 1
- 0
.gitattributes 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
- 0
.gitmessage 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
# -------------------------------------------------------------------------

Loading…
Cancel
Save