Re: [PING][PATCH] binutils-gdb/git: Handle *.ac and *.m4 files in .gitattributes

Alan Modra
2025-12-18T00:19:21Z

On Wed, Dec 17, 2025 at 10:25:24PM +0100, Tom de Vries wrote:
> 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.

I'll rubber-stamp this for the binutils side, but IMO there is no need
for a global gdb maintainer to wait for approval from binutils
maintainers for this shared file.

--
Alan Modra