aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorRichard Earnshaw <rearnsha@arm.com>2024-05-23 16:25:51 +0100
committerRichard Earnshaw <rearnsha@arm.com>2024-05-28 10:16:23 +0100
commit73061b1e53a4de90e63c966b03376f007ae272a9 (patch)
treee67f9bf432f9404acad7a76efdfbf849154e89b7 /opcodes
parent08b0f198b16af719c329581e0ddc290c4c9b17ae (diff)
downloadbinutils-73061b1e53a4de90e63c966b03376f007ae272a9.zip
binutils-73061b1e53a4de90e63c966b03376f007ae272a9.tar.gz
binutils-73061b1e53a4de90e63c966b03376f007ae272a9.tar.bz2
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.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/.gitattributes3
1 files changed, 3 insertions, 0 deletions
diff --git a/opcodes/.gitattributes b/opcodes/.gitattributes
new file mode 100644
index 0000000..f3d477b
--- /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