Commit graph

6 commits

Author SHA1 Message Date
Stephan Bergmann
9ea2483c20 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>
2022-06-24 16:36:36 +02:00
Thorsten Behrens
34dced99c3 Ignore schema files for src tarball generation
Change-Id: I1aeafbe35f7badb6c59eddf79de4e96229b66886
Reviewed-on: https://gerrit.libreoffice.org/28494
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2016-08-30 23:59:15 +00:00
Michael Stahl
93e425cda7 .gitattributes: treat .svg and .jcs as binary
this is apparently the only way to prevent results from endless base64
encoded lines (svg) or endless line containing all UNO API identifiers
(jcs) in "git grep foo".

Change-Id: I53326386ece9dbde0fb372d1616e643a89d51a40
2013-09-05 22:35:00 +02:00
Andras Timar
066300b5aa use git hook instead of gitattributes filter for *.po files 2011-04-27 21:13:12 +02:00
Andras Timar
a5ca1dcb91 set .gitattributes filter for *.po files 2011-03-23 19:23:49 +01:00
Miklos Vajna
e175056684 Introduce a single .gitattributes file in bootstrap 2011-03-16 11:08:46 +01:00