jgit/org.eclipse.jgit.test/tst-rsrc/org/eclipse/jgit
Thomas Wolf 1126f26d21 ApplyCommand: fix "no newline at end" detection
Check the last line of the last hunk of a file, not the last line of
the whole patch.

Note that C git only checks that this line starts with "\ " and is at
least 12 characters long because of possible different texts when non-
English messages are used.

Change-Id: I0db81699eb3e99ed7b536a3e2b8dc97df1f58a89
Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
2021-05-26 00:38:00 +02:00
..
attributes Attributes: fix handling of text=auto in combination with eol 2020-05-22 17:08:52 -04:00
diff ApplyCommand: fix "no newline at end" detection 2021-05-26 00:38:00 +02:00
indexdiff Fix symlink content comparison on MacOS in tree walk 2016-10-11 00:20:23 +02:00
internal/transport/http HTTP: cookie file stores expiration in seconds 2021-03-03 00:26:51 +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 possible NegativeArraySizeException in PackIndexV1 2020-08-25 12:42:53 -04:00
util ApplyCommand: add a stream to apply a delta patch 2021-05-26 00:37:59 +02:00