git-as-svn doesn't add svn:mime-type=application/octet-stream auto-props for -text files
slonopotamus opened this issue · comments
Marat Radchenko commented
- Create
.gitattributes
with* -text
contents in repo root - Check svn properties on repository root
Expected: there's svn:auto-props
= * svn:mime-type=application/octet-stream
Marat Radchenko commented
Marat Radchenko commented
We cannot add svn:auto-props
entry for *
. Because svn (unlike git) applies all matching entries in undefined order.
And things are even worse:
$ svn pl -v .
Properties on '.':
svn:auto-props
* = svn:eol-style=native
* = svn:mime-type=application/octet-stream
$ touch foo
$ svn add foo
svn: E200009: Can't set 'svn:eol-style': file '/tmp/wc/foo' has binary mime type property
$ svn st foo
? foo