From owner-dev-commits-ports-main@freebsd.org Thu Apr 22 09:52:19 2021 Return-Path: Delivered-To: dev-commits-ports-main@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6C88B5E7E59; Thu, 22 Apr 2021 09:52:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FQt4g2WFJz3Pqn; Thu, 22 Apr 2021 09:52:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3F50D179E4; Thu, 22 Apr 2021 09:52:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 13M9qJfe092983; Thu, 22 Apr 2021 09:52:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 13M9qJNE092982; Thu, 22 Apr 2021 09:52:19 GMT (envelope-from git) Date: Thu, 22 Apr 2021 09:52:19 GMT Message-Id: <202104220952.13M9qJNE092982@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Mathieu Arnold Subject: git: 5b7c17856512 - main - git hooks: Rework authorship instructions. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mat X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5b7c17856512900d2a13be547869b734a527a57b Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the main branch of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Apr 2021 09:52:19 -0000 The branch main has been updated by mat: URL: https://cgit.FreeBSD.org/ports/commit/?id=5b7c17856512900d2a13be547869b734a527a57b commit 5b7c17856512900d2a13be547869b734a527a57b Author: Mathieu Arnold AuthorDate: 2021-04-22 09:47:14 +0000 Commit: Mathieu Arnold CommitDate: 2021-04-22 09:50:30 +0000 git hooks: Rework authorship instructions. While there, move them upwards so they are not hidden at the far end of the template. --- .hooks/prepare-commit-msg | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.hooks/prepare-commit-msg b/.hooks/prepare-commit-msg index e4e94960988e..12f26c74d0b6 100755 --- a/.hooks/prepare-commit-msg +++ b/.hooks/prepare-commit-msg @@ -44,6 +44,9 @@ $(awk '1;/^#$/{exit}' "$1") # # 72 columns --| # +# Do not add a Submitted by line. If someone besides the committer sent in the +# change, the commit author should be set using \`git commit --author\`. +# # Uncomment and complete these metadata fields, as appropriate: # # PR: @@ -61,8 +64,7 @@ $(awk '1;/^#$/{exit}' "$1") # Differential Revision: # # "Pull Request" and "Differential Revision" require the *full* GitHub or -# Phabricator URL. The commit author should be set appropriately, using -# \`git commit --author\` if someone besides the committer sent in the change. +# Phabricator URL. $(awk '/^#$/,EOF' "$1") EOF