Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Sep 2021 00:55:48 GMT
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: bd6137e1e6f3 - stable/13 - openssh: tag generated file with @generated
Message-ID:  <202109090055.1890tmF3042707@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by emaste:

URL: https://cgit.FreeBSD.org/src/commit/?id=bd6137e1e6f39085162e77d98f720613f279ac65

commit bd6137e1e6f39085162e77d98f720613f279ac65
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2021-09-02 01:49:44 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2021-09-09 00:49:22 +0000

    openssh: tag generated file with @generated
    
    Tools like Phabricator use the @generated tag to identify files that
    may be excluded from review by default.
    
    MFC after:      1 week
    Sponsored by:   The FreeBSD Foundation
    
    (cherry picked from commit b3e858f7622e7fb058c05f81abd657fc47c6f717)
---
 crypto/openssh/freebsd-namespace.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/crypto/openssh/freebsd-namespace.sh b/crypto/openssh/freebsd-namespace.sh
index 8cf91508ec3d..79416247aff9 100755
--- a/crypto/openssh/freebsd-namespace.sh
+++ b/crypto/openssh/freebsd-namespace.sh
@@ -46,9 +46,10 @@ libssh_builddir=$(realpath $(ssh_make -V.OBJDIR))
 libssh=libprivatessh.a
 
 # Clear the existing header
+generated="@""generated"
 cat >${header} <<EOF
 /*
- * This file was machine-generated.  Do not edit manually.
+ * This file was machine-$generated.  Do not edit manually.
  * Run crypto/openssh/freebsd-namespace.sh to regenerate.
  */
 EOF



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