]> git.neil.brown.name Git - wiggle.git/commit
merge: remove useless context from the end of a conflict.
authorNeilBrown <neilb@suse.de>
Wed, 13 Feb 2013 23:45:57 +0000 (10:45 +1100)
committerNeilBrown <neilb@suse.de>
Wed, 13 Feb 2013 23:45:57 +0000 (10:45 +1100)
commit11da12692c1244203ce9634fa96c2e455cc6d9ef
tree23723eacb6a9899ea662f429711a9f99c6231dbc
parent9c8b9a1a1407eb6893dab5cd001fe2bfca3d0d12
merge: remove useless context from the end of a conflict.

If we are close to the end-of-file, then don't expect
too many unchanged lines.
And allow zero lines of context in the merge if  it is unchanged out
side the merge.

Update various tests to match - all clear improvements.

Signed-off-by: NeilBrown <neilb@suse.de>
merge2.c
tests/linux/raid5build/merge
tests/simple/all-different/merge
tests/simple/conflict/merge
tests/simple/conflictmixed/merge
tests/simple/multiple-add/merge
tests/simple/show-wiggle-1/Wmerge