summaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2022-06-23 22:10:45 +0200
committerAdolfo Jayme Barrientos <fitojb@ubuntu.com>2022-06-24 16:36:36 +0200
commit9ea2483c20783000249c6648637b631114b702c6 (patch)
tree5462feac83da4abc3753953ec7f91fb427f578af /.gitattributes
parent1c44d1051cfee6ce7099965dc4470b4820f80489 (diff)
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 <fitojb@ubuntu.com>
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes1
1 files changed, 0 insertions, 1 deletions
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