]> source.dussan.org Git - jgit.git/commit
Fix encoding of LFSPointer files 68/84668/4
authorChristian Halstrick <christian.halstrick@sap.com>
Tue, 8 Nov 2016 12:42:34 +0000 (13:42 +0100)
committerChristian Halstrick <christian.halstrick@sap.com>
Thu, 24 Nov 2016 16:26:56 +0000 (17:26 +0100)
commit1572964ecb24137a112c22555ae7ab3d16a3ea12
tree30132031cf1884bed9c2712517b037c1e844b0d5
parentfe329f5db4328a58e2cd1c7d1cec6f2676412745
Fix encoding of LFSPointer files

LFS pointer files have to be UTF-8 with \n as line ending character.
That is described in [1]. Fix JGit to follow this rules.

[1] https://github.com/github/git-lfs/blob/master/docs/spec.md

Bug: 507120
Change-Id: Ib6bd13f1cc17f1a3de125249b4f250b7b0692396
org.eclipse.jgit.lfs.test/META-INF/MANIFEST.MF
org.eclipse.jgit.lfs.test/tst/org/eclipse/jgit/lfs/lib/LFSPointerTest.java [new file with mode: 0644]
org.eclipse.jgit.lfs/src/org/eclipse/jgit/lfs/LfsPointer.java