vim-signify/autoload/sy
Marco Hinz 64b226cf1b Fossil: fix detection of deleted lines
Assuming line 28 was deleted, the block header for a unified diff looks like:

    +28,1 -27,0

This is true for usual suspects like `diff -U0` and `git diff -U0`, but
unfortunately not for Fossil. It would report this instead:

    +28,1 -0,0

This lead our code to believe that line 1 instead of line 28 was deleted. And
maybe it's right about that. There does not seem to be a standard for patch/diff
output, but according to my knowledge Fossil is the only VCS doing that.

Anyway, this commit's change should make the detection of a deleted first line
work for every VCS again.

Fixes https://github.com/mhinz/vim-signify/issues/282
2019-02-04 15:41:34 +01:00
..
debug.vim Allow multiple active VCS 2017-04-18 17:00:12 +02:00
fold.vim Refactoring 2018-04-15 22:00:17 +02:00
highlight.vim Signs: do not exceed two cells 2017-07-19 16:10:59 +02:00
jump.vim Refactoring 2018-04-15 22:00:17 +02:00
repo.vim Fossil: don't fall back to external 'diff' tool 2019-01-25 10:23:22 +01:00
sign.vim Fossil: fix detection of deleted lines 2019-02-04 15:41:34 +01:00
util.vim Refactoring 2018-04-15 22:00:17 +02:00