Browse Source
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: Ibd4c4948d81bd1c511ecf5fd6c906444930d236estable-2.3
Markus Duft
13 years ago
committed by
Robin Rosenberg
5 changed files with 32 additions and 7 deletions
@ -0,0 +1,10 @@
|
||||
diff --git a/NL1 b/NL1
|
||||
index 68abad7..b14088c 100644
|
||||
--- a/NL1
|
||||
+++ b/NL1
|
||||
@@ -1,4 +1,4 @@
|
||||
a
|
||||
-b
|
||||
+d
|
||||
c
|
||||
|
@ -0,0 +1,4 @@
|
||||
a |
||||
d |
||||
c |
||||
|
@ -0,0 +1,4 @@
|
||||
a |
||||
b |
||||
c |
||||
|
Loading…
Reference in new issue