From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id ZLPWCPgfQ2n7GgYAWB0awg (envelope-from ) for ; Wed, 17 Dec 2025 16:26:16 -0500 Authentication-Results: simark.ca; dkim=pass (1024-bit key; unprotected) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=f/UvYdpp; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=1NShlZCa; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=L3mv+p/6; dkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=JEP7a3ez; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 118881E048; Wed, 17 Dec 2025 16:26:16 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_VALIDITY_CERTIFIED_BLOCKED, RCVD_IN_VALIDITY_RPBL_BLOCKED,RCVD_IN_VALIDITY_SAFE_BLOCKED autolearn=ham autolearn_force=no version=4.0.1 Received: from vm01.sourceware.org (vm01.sourceware.org [38.145.34.32]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 14EE81E048 for ; Wed, 17 Dec 2025 16:26:15 -0500 (EST) Received: from vm01.sourceware.org (localhost [127.0.0.1]) by sourceware.org (Postfix) with ESMTP id 757584BA2E1D for ; Wed, 17 Dec 2025 21:26:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 757584BA2E1D Authentication-Results: sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=f/UvYdpp; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=1NShlZCa; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=L3mv+p/6; dkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=JEP7a3ez Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.223.130]) by sourceware.org (Postfix) with ESMTPS id 3C3894BA2E05 for ; Wed, 17 Dec 2025 21:25:27 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3C3894BA2E05 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.de ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 3C3894BA2E05 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=195.135.223.130 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1766006732; cv=none; b=f4vlm+9kx8bC/nGdiIxQRi1CZafSh98KrxY2e63p5YKVFFikNi/rqqXIuaR4D7kgXED2L8ItcfziMEfqQLD4EkHCbiTh4V2etkQMBfYR+aR2QEYgrQEj0t0znX9HGwfPQZwMWVwO1w+pTHMnQiwx8EFF5zZqu1wb8VOGijRibxM= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1766006732; c=relaxed/simple; bh=JW+1u/wb9iweDbzY0VtZ81CT+CEZnC6NDhoz8kYHOWE=; h=DKIM-Signature:DKIM-Signature:DKIM-Signature:DKIM-Signature: Message-ID:Date:MIME-Version:Subject:From:To; b=CTqcLC8YoMp1XFpG70lAJlHOb3BjMb546XqPIZpnurL2+a9YfWV9XO/wJ8G+M2NFSwqinf7zqo0gboywksT2Fn+iGE6QOjH5JqetsOfXZiVz02/dJ4FS9pvIAPpCGD/iY55MwmVUfrc6ff4anR9FDMr3Cxbq4eC9WjqbcW/LKRw= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3C3894BA2E05 Received: from imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org [IPv6:2a07:de40:b281:104:10:150:64:97]) (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 smtp-out1.suse.de (Postfix) with ESMTPS id C1C0233701; Wed, 17 Dec 2025 21:25:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1766006725; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=is+0wlWkt2naSnoLyFENbBNds0ZKmCCdhdzqngPu1Is=; b=f/UvYdppUBNiDjX7l5Qe7mXwPJAl4M8nutNhrDo2jyKdagxFpcaAAj4JcRd+FtfhamExZu 3GeCpC6188JpiE8Y5y7aTVx48iikWIuCunTqJoTuvCsd06+9GoLuNrfi/FpuXW8NdQVphI x/wJ8eICApSNzqlrLHP7TmJ16sS4lxc= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1766006725; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=is+0wlWkt2naSnoLyFENbBNds0ZKmCCdhdzqngPu1Is=; b=1NShlZCa57tD0CQzSmX29Fe+ydMOjN99TnFaet4kzIVMbwLddtVrSAUnvMh0hQNIrkDtFJ 6dugyNxFY7/CdQAA== Authentication-Results: smtp-out1.suse.de; dkim=pass header.d=suse.de header.s=susede2_rsa header.b="L3mv+p/6"; dkim=pass header.d=suse.de header.s=susede2_ed25519 header.b=JEP7a3ez DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1766006724; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=is+0wlWkt2naSnoLyFENbBNds0ZKmCCdhdzqngPu1Is=; b=L3mv+p/6xGjuIARcUOmt9BX+KknaaHsBjxn6nvuRk7f/DgoyTychQCkj0keBnIpzi7piZK GC25FquqYKM98CS8DA7Vbp74E+slcER5j3n6bzR83hF46C+bgcDnUuxFJF8AFXN4SMcRUZ CxEssulrAgIl87UROl4nED1bHIOd/Lc= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1766006724; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=is+0wlWkt2naSnoLyFENbBNds0ZKmCCdhdzqngPu1Is=; b=JEP7a3ezJb360sGm3llw9GIiepeix4E6UmzBjvqGfIv8OySgHhXWBw+5m3epXmmauemd3n SZPLnkzY393J8tDQ== Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (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 imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id A90BD3EA63; Wed, 17 Dec 2025 21:25:24 +0000 (UTC) Received: from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167]) by imap1.dmz-prg2.suse.org with ESMTPSA id ZrqXJ8QfQ2npBwAAD6G6ig (envelope-from ); Wed, 17 Dec 2025 21:25:24 +0000 Message-ID: <93deb8ec-db69-425a-9a56-30f802363b1b@suse.de> Date: Wed, 17 Dec 2025 22:25:24 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: [PING][PATCH] binutils-gdb/git: Handle *.ac and *.m4 files in .gitattributes From: Tom de Vries To: gdb-patches@sourceware.org, binutils@sourceware.org References: <20251203085111.3655102-1-tdevries@suse.de> Content-Language: en-US In-Reply-To: <20251203085111.3655102-1-tdevries@suse.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [-4.51 / 50.00]; BAYES_HAM(-3.00)[99.99%]; NEURAL_HAM_LONG(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; NEURAL_HAM_SHORT(-0.20)[-0.997]; MIME_GOOD(-0.10)[text/plain]; MX_GOOD(-0.01)[]; FROM_HAS_DN(0.00)[]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; RCPT_COUNT_TWO(0.00)[2]; ARC_NA(0.00)[]; FUZZY_RATELIMITED(0.00)[rspamd.com]; MIME_TRACE(0.00)[0:+]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_ALL(0.00)[]; DKIM_TRACE(0.00)[suse.de:+]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; SPAMHAUS_XBL(0.00)[2a07:de40:b281:104:10:150:64:97:from]; TO_DN_NONE(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; DBL_BLOCKED_OPENRESOLVER(0.00)[suse.de:dkim, suse.de:mid, imap1.dmz-prg2.suse.org:helo, imap1.dmz-prg2.suse.org:rdns] X-Rspamd-Action: no action X-Rspamd-Server: rspamd2.dmz-prg2.suse.org X-Rspamd-Queue-Id: C1C0233701 X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org On 12/3/25 9:51 AM, Tom de Vries wrote: > Since commit 52ca3d3fe61 ("toplevel: unify the GCC and GDB/binutils .editorconfig > files"), .editorconfig has settings for .ac and .m4 files: > ... > [*.{ac,m4}] > indent_style = tab > indent_size = 2 > trim_trailing_whitespace = true > ... > > There are no setting for those files in .gitattributes, so the whitespace > attribute defaults to trailing-space (shorthand for blank-at-eol, > blank-at-eof) and space-before-tab. > > Since according to .editorconfig the indentation style is tab, add > indent-with-non-tab as well. > > Since aclocal.m4 is generated, unset the whitespace attribute. Likewise for > configure. Ping. Thanks, - Tom > --- > .gitattributes | 10 ++++++++++ > 1 file changed, 10 insertions(+) > > diff --git a/.gitattributes b/.gitattributes > index 6f7c6d8ba52..3639ebcfe55 100644 > --- a/.gitattributes > +++ b/.gitattributes > @@ -33,3 +33,13 @@ ChangeLog merge=merge-changelog > *.[cChH] whitespace=space-before-tab,indent-with-non-tab,trailing-space > *.exp whitespace=space-before-tab,indent-with-non-tab,trailing-space > *.tcl whitespace=space-before-tab,indent-with-non-tab,trailing-space > + > +# Autoconf. > + > +*.ac whitespace=space-before-tab,indent-with-non-tab,trailing-space > +*.m4 whitespace=space-before-tab,indent-with-non-tab,trailing-space > + > +# Generated files. > + > +configure -whitespace > +aclocal.m4 -whitespace > > base-commit: d03293898d81e4273ac7f9163a8186dba46db0e5