]> git.neil.brown.name Git - wiggle.git/commit
extract: allow blank lines in unified diffs.
authorNeilBrown <neilb@suse.de>
Sat, 3 Aug 2019 02:11:56 +0000 (12:11 +1000)
committerNeilBrown <neilb@suse.de>
Sat, 3 Aug 2019 02:11:56 +0000 (12:11 +1000)
commitf7f6e090b0f8bb177d171f34f6a5a629a280e4ff
treeaf15bd32fe324210bbd5766f5c73db22756c1f2f
parent63078457a6906ca3e5c34d2f32d528f759d70e66
extract: allow blank lines in unified diffs.

When a unified diff report that both files have a blank line,
it shows this as a line containing just a space.
Sometimes that space can go missing (spaces at the end of a line
are like that).
So if we find a completely empty line, treat it like a line
containing just a space.

Resolves-github-issue: #12
Reported-by: luckydonald @ github.com
Signed-off-by: NeilBrown <neilb@suse.de>
extract.c