[PATCH] binutils-gdb/git: highlight whitespace errors in source files
Alan Modra
amodra@gmail.com
Wed Jul 20 01:48:57 GMT 2022
On Tue, Jul 19, 2022 at 03:26:31PM +0100, Andrew Burgess via Binutils wrote:
> For a long time I've had this in my ~/.gitconfig:
>
> [core]
> whitespace = space-before-tab,indent-with-non-tab,trailing-space
>
> which causes git to show me if I muck up and use spaces instead of
> tabs, or leave in trailing whitespace. I find this really useful.
Same here.
> I recently proposed adding something like this to the .gitattributes
> files for the GDB sub-directories (gdb, gdbsupport, and gdbserver)[1],
> however, the question was asked - couldn't this be done at the top
> level?
I'm happy with your patch.
--
Alan Modra
Australia Development Lab, IBM
More information about the Binutils
mailing list