[binutils-gdb] opcodes: add a .gitattributes file for aarch64 autogenerated file exceptions

Richard Earnshaw rearnsha@sourceware.org
Tue May 28 09:16:40 GMT 2024


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=73061b1e53a4de90e63c966b03376f007ae272a9

commit 73061b1e53a4de90e63c966b03376f007ae272a9
Author: Richard Earnshaw <rearnsha@arm.com>
Date:   Thu May 23 16:25:51 2024 +0100

    opcodes: add a .gitattributes file for aarch64 autogenerated file exceptions
    
    The autogenerated files in opcodes use spaces for indentation.
    Changing that would be a lot of work to little benefit, so add a local
    override to the white-space rules, so patches apply cleanly.

Diff:
---
 opcodes/.gitattributes | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/opcodes/.gitattributes b/opcodes/.gitattributes
new file mode 100644
index 00000000000..f3d477b6390
--- /dev/null
+++ b/opcodes/.gitattributes
@@ -0,0 +1,3 @@
+# The aarch64 generated files use spaces for indentation, so we need to
+# overrule the top-level whitespace rule.
+aarch64*-2.*	whitespace=space-before-tab,trailing-space


More information about the Binutils-cvs mailing list