1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
|
diff --git a/gitdiff/testdata/apply/file_text.src b/gitdiff/testdata/apply/file_text.src
--- a/gitdiff/testdata/apply/file_text.src
+++ b/gitdiff/testdata/apply/file_text.src
@@ -1,4 +1,4 @@
-this is line 1
+the first line is different
this is line 2
this is line 3
this is line 4
@@ -17,10 +17,10 @@ this is line 16
this is line 17
this is line 18
this is line 19
+this line offsets all the line numbers!
this is line 20
this is line 21
-this is line 22
-this is line 23
+until here, now we're back on track!
this is line 24
this is line 25
this is line 26
@@ -53,10 +53,10 @@ this is line 52
this is line 53
this is line 54
this is line 55
-this is line 56
-this is line 57
-this is line 58
-this is line 59
+once upon a time, a line
+ in a text
+ file
+ changed
this is line 60
this is line 61
this is line 62
@@ -130,8 +130,8 @@ this is line 129
this is line 130
this is line 131
this is line 132
-this is line 133
-this is line 134
+this line was bad and has been removed
+this line was REDACTED and has been REDACTED
this is line 135
this is line 136
this is line 137
@@ -161,12 +161,7 @@ this is line 160
this is line 161
this is line 162
this is line 163
-this is line 164
-this is line 165
-this is line 166
-this is line 167
-this is line 168
-this is line 169
+the number on the remaining lines is 5 ahead of their actual position in the file
this is line 170
this is line 171
this is line 172
|