.gitattributes | 1 -
1 file changed, 1 deletion(-)
New commits:
commit 9ea2483c20783000249c6648637b631114b702c6
Author: Stephan Bergmann <[email protected]>
AuthorDate: Thu Jun 23 22:10:45 2022 +0200
Commit: Adolfo Jayme Barrientos <[email protected]>
CommitDate: Fri Jun 24 16:36:36 2022 +0200
SVG is a textual XML format after all
When researching <https://gerrit.libreoffice.org/c/core/+/136350> "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 <[email protected]>
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