jgit/org.eclipse.jgit.test/tst-rsrc/org/eclipse/jgit
Markus Duft 3d18f65af1 Fix patch application WRT windows line endings.
Previously the result of an application would have been \r\r\n in the
case of windows line endings, as RawText does not touch the \r, and
ApplyCommand adds "\r\n" if this is the ending of the first line in the
target file. Only always adding \n should be ok, since \r\n would be the
result if the file and the patch include windows line endings.

Also add according test.

Change-Id: Ibd4c4948d81bd1c511ecf5fd6c906444930d236e
2013-01-19 13:29:02 +01:00
..
diff Fix patch application WRT windows line endings. 2013-01-19 13:29:02 +01:00
nls Fix TestTranslationBundle 2010-12-31 14:01:34 -08:00
patch Initial JGit contribution to eclipse.org 2009-09-29 16:47:03 -07:00
test/resources Fix ArrayIndexOutOfBoundsException in DirCacheIterator 2010-12-22 14:11:22 -08:00