From 73061b1e53a4de90e63c966b03376f007ae272a9 Mon Sep 17 00:00:00 2001 From: Richard Earnshaw Date: Thu, 23 May 2024 16:25:51 +0100 Subject: [PATCH] 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. --- opcodes/.gitattributes | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 opcodes/.gitattributes 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 -- 2.47.2