From d5086be1aba686d78763073cbc5cd09820b83c42 Mon Sep 17 00:00:00 2001 From: Marian Buschsieweke Date: Sun, 19 Oct 2025 17:56:30 +0200 Subject: [PATCH] .gitattributes: Treat SVG as binary This may not be fully accurate. But changes to an SVG file are usually better viewed with a graphical tool than a `diff` and contributor stats are really messed up with svg files being treated as text files. --- .gitattributes | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitattributes b/.gitattributes index 32985d0606..b3d7ca8952 100644 --- a/.gitattributes +++ b/.gitattributes @@ -6,3 +6,4 @@ Cargo.lock binary # when the heading is exactly 7 characters long. *.md conflict-marker-size=100 *.txt conflict-marker-size=100 +*.svg binary