From 584bd13b0940754d02902a0f6e18da39b1677653 Mon Sep 17 00:00:00 2001 From: Karl Stolley Date: Thu, 22 May 2025 14:24:10 -0500 Subject: [PATCH] gitattributes: Diff SVGs as code. We also no longer worry about preventing newline conversions. --- .gitattributes | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitattributes b/.gitattributes index c0a7b0b09c..2cc535958e 100644 --- a/.gitattributes +++ b/.gitattributes @@ -20,7 +20,6 @@ corporate/tests/stripe_fixtures/*.json -diff *.eot binary *.woff binary *.woff2 binary -*.svg binary *.ttf binary *.png binary *.otf binary @@ -30,3 +29,6 @@ corporate/tests/stripe_fixtures/*.json -diff *.bmp binary *.mp3 binary *.pdf binary + +# Treat SVG files as code for diffing purposes. +*.svg diff