From 9ea2483c20783000249c6648637b631114b702c6 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 23 Jun 2022 22:10:45 +0200 Subject: [PATCH] SVG is a textual XML format after all When researching "Make CppunitTest_svgio CPPUNIT_TEST_NAME=Test::testCssClassRedefinition robust", I was genuinely puzzled that git treated .svg files as binary data, until I discovered 93e425cda7b7ea026842bb6619d9aa4ce3280048 ".gitattributes: treat .svg and .jcs as binary". I don't consider its rationale of "this is apparently the only way to prevent results from endless base64 encoded lines (svg) [...] in 'git grep foo'" convincing enough, compared to the puzzlement and inconvenience it causes when you do want to grep for the content of SVG files. (I didn't experience similar issues with .jcs files, so leave that alone for now.)) Change-Id: I1b1f4aa92f7a538408e246080cdd415e109d2002 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136351 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos --- .gitattributes | 1 - 1 file changed, 1 deletion(-) diff --git a/.gitattributes b/.gitattributes index f43f23bebdc8..bb2e57ffbb3d 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,5 +1,4 @@ *.doc binary *.sdw binary -*.svg binary *.jcs binary schema/*/* export-ignore