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 93e425cda7
".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>
This commit is contained in:
parent
1c44d1051c
commit
9ea2483c20
1 changed files with 0 additions and 1 deletions
1
.gitattributes
vendored
1
.gitattributes
vendored
|
@ -1,5 +1,4 @@
|
|||
*.doc binary
|
||||
*.sdw binary
|
||||
*.svg binary
|
||||
*.jcs binary
|
||||
schema/*/* export-ignore
|
||||
|
|
Loading…
Reference in a new issue