forked from aniani/vim
Problem: diff mode does not handle overlapping diffs correctly
Solution: correct the logic to handle overlapping blocks
(Yukihiro Nakadaira)
Vim merges overlapped diff blocks and it doesn't work expectedly
in some situation.
closes: #15735
Signed-off-by: Yukihiro Nakadaira <yukihiro.nakadaira@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
21 lines
1.0 KiB
Plaintext
21 lines
1.0 KiB
Plaintext
| +0#0000e05#a8a8a8255@1|a+2#0000000#ff404010| +0&#ffd7ff255@33||+1&#ffffff0| +0#0000e05#a8a8a8255@1|x+2#0000000#ff404010| +0&#ffd7ff255@33
|
|
| +0#0000e05#a8a8a8255@1|b+2#0000000#ff404010| +0&#ffd7ff255@33||+1&#ffffff0| +0#0000e05#a8a8a8255@1|x+2#0000000#ff404010| +0&#ffd7ff255@33
|
|
|~+0#4040ff13#ffffff0| @35||+1#0000000&|~+0#4040ff13&| @35
|
|
|~| @35||+1#0000000&|~+0#4040ff13&| @35
|
|
|~| @35||+1#0000000&|~+0#4040ff13&| @35
|
|
|~| @35||+1#0000000&|~+0#4040ff13&| @35
|
|
|~| @35||+1#0000000&|~+0#4040ff13&| @35
|
|
|~| @35||+1#0000000&|~+0#4040ff13&| @35
|
|
|~| @35||+1#0000000&|~+0#4040ff13&| @35
|
|
|~| @35||+1#0000000&|~+0#4040ff13&| @35
|
|
|~| @35||+1#0000000&|~+0#4040ff13&| @35
|
|
|~| @35||+1#0000000&|~+0#4040ff13&| @35
|
|
|~| @35||+1#0000000&|~+0#4040ff13&| @35
|
|
|~| @35||+1#0000000&|~+0#4040ff13&| @35
|
|
|~| @35||+1#0000000&|~+0#4040ff13&| @35
|
|
|~| @35||+1#0000000&|~+0#4040ff13&| @35
|
|
|~| @35||+1#0000000&|~+0#4040ff13&| @35
|
|
|~| @35||+1#0000000&|~+0#4040ff13&| @35
|
|
|X+3#0000000&|d|i|f|i|l|e|1| @10|1|,|1| @11|A|l@1| |X+1&&|d|i|f|i|l|e|2| @10|1|,|1| @11|A|l@1
|
|
|:+0&&> @73
|