]> source.dussan.org Git - jgit.git/commit
EolCanonicalizingInputStream: binary detection should be optional 30/5130/1
authorMarc Strapetz <marc.strapetz@syntevo.com>
Tue, 21 Feb 2012 14:18:08 +0000 (15:18 +0100)
committerMarc Strapetz <marc.strapetz@syntevo.com>
Tue, 21 Feb 2012 14:22:36 +0000 (15:22 +0100)
commit7df17e57d4e736336de6b95810daf076e9b7dded
tree275457600d53cdd8bb55f211c7f0ea6ef9943882
parent755dfdb40948f5c1ec79e06bde3b0a78c352f27f
EolCanonicalizingInputStream: binary detection should be optional

EolCanonicalizingInputStream may also be used in combination with
.gitattributes. If .gitattributes states that a file is of type text, line
endings have to be canonicalized even if the actual file content seems
to be binary.

Change-Id: Ie4ccdfc5cb91fbd55e06f51146cf5c7c84b8e18b
org.eclipse.jgit.test/tst/org/eclipse/jgit/util/io/EolCanonicalizingInputStreamTest.java
org.eclipse.jgit/src/org/eclipse/jgit/treewalk/WorkingTreeIterator.java
org.eclipse.jgit/src/org/eclipse/jgit/util/io/EolCanonicalizingInputStream.java