Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jun 2021 10:49:33 GMT
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 5e7bdbf4c15a - main - CHANGES: Document the prepare-commit-msg hook.
Message-ID:  <202106091049.159AnXNm007578@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by mat:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5e7bdbf4c15ac7cccd7d6352db03efc7f7412336

commit 5e7bdbf4c15ac7cccd7d6352db03efc7f7412336
Author:     Mathieu Arnold <mat@FreeBSD.org>
AuthorDate: 2021-06-09 10:47:55 +0000
Commit:     Mathieu Arnold <mat@FreeBSD.org>
CommitDate: 2021-06-09 10:47:55 +0000

    CHANGES: Document the prepare-commit-msg hook.
    
    (Side note, this commit message was created with it, and the "CHANGES:"
     was already available.)
---
 CHANGES | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/CHANGES b/CHANGES
index 873ea6cfe2c3..5f5f68aacca1 100644
--- a/CHANGES
+++ b/CHANGES
@@ -10,6 +10,12 @@ in the release notes and/or placed into UPDATING.
 
 All ports committers are allowed to commit to this file.
 
+20210604:
+AUTHOR: mat@FreeBSD.org
+
+  The prepare-commit-msg hook was enhanced to auto-fill the first line of the
+  commit with the category/port in case only one port was committed to.
+
 20210525:
 AUTHOR: amdmi3@FreeBSD.org
 
@@ -18,6 +24,16 @@ AUTHOR: amdmi3@FreeBSD.org
   PYTHON_REL against 30710 and ports checking for python 3.10.0 should compare
   PYTHON_REL against 31000.
 
+20210420:
+AUTHOR: mat@FreeBSD.org
+
+  A prepare-commit-msg hook was added to the repository.  This hooks prepares
+  the commit message template for specific ports tree usage.
+
+  To make use of it, the easiest way is to run:
+
+    git config --add core.hooksPath .hooks
+
 20201120:
 AUTHOR: gnome@FreeBSD.org
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202106091049.159AnXNm007578>