From: Richard Earnshaw Date: Thu, 23 May 2024 15:25:51 +0000 (+0100) Subject: opcodes: add a .gitattributes file for aarch64 autogenerated file exceptions X-Git-Tag: binutils-2_43~601 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=73061b1e53a4de90e63c966b03376f007ae272a9;p=thirdparty%2Fbinutils-gdb.git 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 --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