]> git.neil.brown.name Git - edlib.git/commit
mergeview/wiggle: improvements for space-only conflicts.
authorNeilBrown <neil@brown.name>
Mon, 12 Jun 2023 09:40:56 +0000 (19:40 +1000)
committerNeilBrown <neil@brown.name>
Wed, 28 Jun 2023 07:51:41 +0000 (17:51 +1000)
commitd03bd792fd50f7c01c989c997559e36a85f35e8f
treee9eeaa6b1a9e100913bed2233ecdaa52843bdca0
parent7a44239a9fce86ccc70d6beeec814807784f7d18
mergeview/wiggle: improvements for space-only conflicts.

1/ change how the "wiggle" is reported.  It is no longer reported
   by "set-wiggle".  Instead a new "get-result" function returns
   various results including the "wiggle".
2/ count how many conflicts only involve white space.  If that is
   all the conflicts, then still calculate the wiggle.
3/ If a merge only has space conflicts, use blue for the merge
   markers rather the red (or green).
4/ mark the green merge markers bold so they stand out more
5/ When adding attrs, annotate conflicts which are space only,
   and respond to that with underlines instead of inverse red.

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