From nobody Fri Jan 27 15:24:52 2023 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4P3Lwp2Zwsz3cCk1; Fri, 27 Jan 2023 15:24:58 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4P3Lwp21zwz3MM9; Fri, 27 Jan 2023 15:24:58 +0000 (UTC) (envelope-from bz@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674833098; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=sW09Eor7NCIR6yoMhDMSO/HRcgpc3IxiC33Zy6j3fgU=; b=lca3DlsWmCficTjqhurkn/KMq7BgtWbdzIL3HhiU/i8l5DlR7saLFdPlXAFJAvRoruxkR/ RIzzLRIcLzB9362UYFHacBChQXSSBgHVQFVmgTcEQ7FWAM0OCSMMVcwG/gSlmWNQfEE9WO 9plbdFC4qT0jKOG8uTkUds5r9+qs0shyRT7iA4v2bF7q/1vp754FL2oZqc1BKmXMxWqehS yWftLSRcE/M/tlT1EnQSP8073G8w0uHMbsnxtodcTK2/00lhDTFaM1xudjgsxSIzEDxBhs 1zLIdC9mBrrn8VMFNL+fIz1C0mbTmQeNTFq+NzmEHVFTaibiNMbAnlVRPPadcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674833098; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=sW09Eor7NCIR6yoMhDMSO/HRcgpc3IxiC33Zy6j3fgU=; b=jb/TcyCbgRKrZaSnso1XZE2q+hnXhuJDkkJlvTI5SlKIg4mYJoXNsPGRXM7CB6eEyLOGHk SUBG8kMErN+XLBbm1R/1RV0u4sbR+uMuv2F1RqOYFkfTZ/joBdQNhyex8FYkdrPBzuVwhU 7wGNAHoHyHh20xPMG8fMvnxwGCZkCL7m43fzUetxtvI3JnJ3iSlUCIXlGv/dZQp+3+zuVr xvdofAZhHmOXgjuImkftHdcRYdh3bI8wP5ZMSfY+cI1zdBLIm23KtmUhkwWf+LtRIjUNaJ 9V6o8sAzILwkyUHOvM2IvIrDpfJE+MH3sDq/t7JNGMl1nUJduPVSn6OBz4kdGA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1674833098; a=rsa-sha256; cv=none; b=jD9nPkOUSHhQ1poXxO0mUGN3z4Ggku8HVUJWRJWV3bZxFu+43ohyGBB0g1thkEdNifNs7L Prv4mw03ZyJvQMjSztYZx3DVpsrsckoFDxCmQRZ8kXAxOM4LP1ib/yOxvNWjGKAJoh9kHD xmjIaJ7nB4z9RsrHpn8OT68TVb25iJX0uO489+rkEiVVBQoT1mi11bIXogQaASvTchVWIk 3lAICfO60WRzD4ytZ3s8CO4RdFpYHtkYyvRQAT+TjtrjPTPxIsyY0RIZuFZo+rd+gSPxoa duIvzvukbFOcPRBT+oef6p7GV+0FuCEMMmqWi+buemH598MXzZTYKkyGbrljSw== Received: from mx1.sbone.de (mx1.sbone.de [IPv6:2a01:4f8:13b:39f::9f:25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.sbone.de", Issuer "SBone.DE Root Certificate Authority" (not verified)) (Authenticated sender: bz/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4P3Lwn6lhmz16fr; Fri, 27 Jan 2023 15:24:57 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id 69EBF8D4A142; Fri, 27 Jan 2023 15:24:56 +0000 (UTC) Received: from content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (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) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 4BCB05C3A833; Fri, 27 Jan 2023 15:24:55 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) by content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (amavisd-new, port 10024) with ESMTP id f6Ij0EhuxyGN; Fri, 27 Jan 2023 15:24:53 +0000 (UTC) Received: from strong-iwl0.sbone.de (strong-iwl0.sbone.de [IPv6:fde9:577b:c1a9:4902:b66b:fcff:fef3:e3d2]) (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) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 5C88B5C3A830; Fri, 27 Jan 2023 15:24:53 +0000 (UTC) Date: Fri, 27 Jan 2023 15:24:52 +0000 (UTC) From: "Bjoern A. Zeeb" To: Ed Maste cc: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: Re: git: 247e03ed8b83 - main - Add git-blame ignore file In-Reply-To: <202301232027.30NKRckV060051@gitrepo.freebsd.org> Message-ID: <1o40rq5-n1pr-ss27-q14-qo845q26398@mnoonqbm.arg> References: <202301232027.30NKRckV060051@gitrepo.freebsd.org> X-OpenPGP-Key-Id: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-ThisMailContainsUnwantedMimeParts: N On Mon, 23 Jan 2023, Ed Maste wrote: > The branch main has been updated by emaste: > > URL: https://cgit.FreeBSD.org/src/commit/?id=247e03ed8b8341cf25dc3d9ecb846612d984f424 > > commit 247e03ed8b8341cf25dc3d9ecb846612d984f424 > Author: Ed Maste > AuthorDate: 2023-01-23 20:27:25 +0000 > Commit: Ed Maste > CommitDate: 2023-01-23 20:27:25 +0000 > > Add git-blame ignore file > > .git-blame-ignore-revs lists commit hashes that should be skipped by > `git blame` e.g. non-functional whitespace or style cleanup. > > The file is populated with a few sample entries. How is this file to be used? 1. Do a non-functional commit? 2. And then do another commit to add the hash? And do we really need the comments? I am wondering if a flag in the original commit message could automatically populate the file on push/commit or something? (I don't know the git internals...) > Reviewed by: brooks, imp > Sponsored by: The FreeBSD Foundation > Differential Revision: https://reviews.freebsd.org/D36525 > > fixup ignore revs > --- > .git-blame-ignore-revs | 16 ++++++++++++++++ > 1 file changed, 16 insertions(+) > > diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs > new file mode 100644 > index 000000000000..2a4ab51f89c1 > --- /dev/null > +++ b/.git-blame-ignore-revs > @@ -0,0 +1,16 @@ > +# List of hashes of non-functional changes to be ignored by git-blame. > +# This includes whitespace, style(9), comment typos, etc. Changes that affect > +# built objects must not be included. > +# > +# Use `git blame --ignore-revs-file .git-blame-ignore-revs` or configure via > +# `git config --global blame.ignoreRevsFile .git-blame-ignore-revs`. GitHub's > +# blame view also uses this by default. > +# > +# For consistency this file is sorted by hash. > + > +# regen syscall files after d51198d63b63 > +2c9764f36b6f20e9a6c71ce64a21988a394050b6 > +# Remove whitespace at EOL. > +7ebcc426efefea9cd16ac6f565e72030c608f7a4 > +# elfctl whitespace > +828e50092ac84f50247fb3f400027fc7510d8141 > -- Bjoern A. Zeeb r15:7