]> git.neil.brown.name Git - edlib.git/commit
mergeview: add commands to apply the merge.
authorNeilBrown <neil@brown.name>
Mon, 12 Jun 2023 05:14:01 +0000 (15:14 +1000)
committerNeilBrown <neil@brown.name>
Wed, 28 Jun 2023 07:51:40 +0000 (17:51 +1000)
commit7a44239a9fce86ccc70d6beeec814807784f7d18
tree20d2f01faa5a1ba338a3ec34ef5a3973151b2150
parent0a84f83baaca1bc9dfe2f2de43448b6d26c924a9
mergeview: add commands to apply the merge.

If :A-m has a numeric arg, then it now behaves differently and often
edits the merge rather than finding another:

-ve: discard the patch and just keep the original.
0 : if no conflicts remain, apply the patch
1 : discard the original and just keep the "after" part.

9 : if there is a selected merge, cut the path and leave the original
    if there is no selected merge, paste the recently cut diff,
     using the selection as the original.

Signed-off-by: NeilBrown <neil@brown.name>
DOC/TODO.md
python/lib-mergeview.py