From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from atuin.qyliss.net (localhost [IPv6:::1]) by atuin.qyliss.net (Postfix) with ESMTP id 4F3FB9BC7; Wed, 20 May 2026 22:23:16 +0000 (UTC) Received: by atuin.qyliss.net (Postfix, from userid 993) id 743C09C2C; Wed, 20 May 2026 22:23:13 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on atuin.qyliss.net X-Spam-Level: ** X-Spam-Status: No, score=2.4 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DMARC_MISSING,FROM_SUSPICIOUS_NTLD, FROM_SUSPICIOUS_NTLD_FP,SPF_HELO_NONE,T_PDS_OTHER_BAD_TLD autolearn=no autolearn_force=no version=4.0.1 Received: from mail-108-mta121.mxroute.com (mail-108-mta121.mxroute.com [136.175.108.121]) by atuin.qyliss.net (Postfix) with ESMTPS id 99F529BB8 for ; Wed, 20 May 2026 22:23:11 +0000 (UTC) Received: from filter006.mxroute.com ([136.175.111.3] filter006.mxroute.com) (Authenticated sender: mN4UYu2MZsgR) by mail-108-mta121.mxroute.com (ZoneMTA) with ESMTPSA id 19e477c3d5300067f7.001 for (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Wed, 20 May 2026 22:23:05 +0000 X-Zone-Loop: f042f03b60627940f5fe9c6943e357e535452ed3813e X-Originating-IP: [136.175.111.3] DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gagarin.work; s=x; h=Content-Transfer-Encoding:MIME-Version:Message-ID:Date :Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=a+337XFIi1j9vTaNddlPEdXWVRFQHecrcJmCjHuccSk=; b=NEl4GMTH43l+HFtuJgbtQd2/Sy iMBr4RcekgVsNZqBsdkuXqECZtstTrSJx4tf0qmj+eyjLq+3piMPVTuv34JbWVTdocMVmtSXyZeny T/lh9Grw8AJP5O1ABiEZNbtgkRwq6SsPNEJu1A2BavcB4THh4jVGKuvNeN46aTU/eRtCqs7n1vjKM e2qujVKPqLCtNgGEFiiMyxdaSxivugcOiahUYI+0MdG5IJ+6WRVhjC+FFpaNNsQ3E1vuB+Y9sH5oO 8ZDnyxtDnzqU5c4Hq7cXL/aICiBzESvRzPgIcZrZ0NK1WrhFGs6qJaoNf95nq00pAi4++Jq62fLSp f4s+mGYQ==; From: Valentin Gagarin To: devel@spectrum-os.org Subject: [PATCH] release/checks/whitespace: skip binary files Date: Thu, 21 May 2026 00:22:37 +0200 Message-ID: <20260520222237.257773-1-valentin@gagarin.work> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Authenticated-Id: valentin@gagarin.work Message-ID-Hash: 2AQUKGFJS6AZFT4PKP2D26FPIJQTWXJ6 X-Message-ID-Hash: 2AQUKGFJS6AZFT4PKP2D26FPIJQTWXJ6 X-MailFrom: valentin@gagarin.work X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-devel.spectrum-os.org-0; header-match-devel.spectrum-os.org-1; header-match-devel.spectrum-os.org-2; header-match-devel.spectrum-os.org-3; header-match-devel.spectrum-os.org-4; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Valentin Gagarin X-Mailman-Version: 3.3.9 Precedence: list List-Id: Patches and low-level development discussion Archived-At: <> List-Archive: <> List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Trailing whitespace is meaningful only for text. Signed-off-by: Valentin Gagarin --- release/checks/whitespace.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release/checks/whitespace.nix b/release/checks/whitespace.nix index 56710b6..3929c8f 100644 --- a/release/checks/whitespace.nix +++ b/release/checks/whitespace.nix @@ -9,6 +9,6 @@ runCommand "spectrum-whitespace" { fileset = srcWithNix; }; } '' - grep --color=always --exclude='*.patch' -r "[[:space:]]$" $src || touch $out + grep --color=always --binary-files=without-match --exclude='*.patch' -r "[[:space:]]$" $src || touch $out '' ) (_: {}) -- 2.51.2