Commit 72a50fa
committed
Merge branch 'pw/add-patch-with-suppress-blank-empty' into maint-2.46
"git add -p" by users with diff.suppressBlankEmpty set to true
failed to parse the patch that represents an unmodified empty line
with an empty line (not a line with a single space on it), which
has been corrected.
* pw/add-patch-with-suppress-blank-empty:
add-patch: use normalize_marker() when recounting edited hunk
add-patch: handle splitting hunks with diff.suppressBlankEmpty2 files changed
Lines changed: 34 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
402 | 402 | | |
403 | 403 | | |
404 | 404 | | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
405 | 411 | | |
406 | 412 | | |
407 | 413 | | |
| |||
487 | 493 | | |
488 | 494 | | |
489 | 495 | | |
| 496 | + | |
490 | 497 | | |
491 | 498 | | |
492 | 499 | | |
| |||
534 | 541 | | |
535 | 542 | | |
536 | 543 | | |
537 | | - | |
| 544 | + | |
538 | 545 | | |
539 | 546 | | |
540 | 547 | | |
| |||
588 | 595 | | |
589 | 596 | | |
590 | 597 | | |
591 | | - | |
| 598 | + | |
592 | 599 | | |
593 | | - | |
594 | | - | |
| 600 | + | |
| 601 | + | |
595 | 602 | | |
596 | 603 | | |
597 | 604 | | |
| |||
815 | 822 | | |
816 | 823 | | |
817 | 824 | | |
818 | | - | |
| 825 | + | |
819 | 826 | | |
820 | 827 | | |
821 | 828 | | |
| |||
955 | 962 | | |
956 | 963 | | |
957 | 964 | | |
958 | | - | |
| 965 | + | |
959 | 966 | | |
960 | 967 | | |
961 | 968 | | |
| |||
1173 | 1180 | | |
1174 | 1181 | | |
1175 | 1182 | | |
1176 | | - | |
| 1183 | + | |
1177 | 1184 | | |
1178 | 1185 | | |
1179 | 1186 | | |
1180 | 1187 | | |
1181 | 1188 | | |
1182 | 1189 | | |
1183 | | - | |
| 1190 | + | |
1184 | 1191 | | |
1185 | 1192 | | |
1186 | 1193 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1164 | 1164 | | |
1165 | 1165 | | |
1166 | 1166 | | |
| 1167 | + | |
| 1168 | + | |
| 1169 | + | |
| 1170 | + | |
| 1171 | + | |
| 1172 | + | |
| 1173 | + | |
| 1174 | + | |
| 1175 | + | |
| 1176 | + | |
| 1177 | + | |
| 1178 | + | |
| 1179 | + | |
| 1180 | + | |
| 1181 | + | |
| 1182 | + | |
| 1183 | + | |
| 1184 | + | |
| 1185 | + | |
1167 | 1186 | | |
0 commit comments