]> git.neil.brown.name Git - edlib.git/commit
wiggle: return the wiggled result from set-wiggle.
authorNeilBrown <neil@brown.name>
Mon, 12 Jun 2023 05:11:24 +0000 (15:11 +1000)
committerNeilBrown <neil@brown.name>
Wed, 28 Jun 2023 07:51:40 +0000 (17:51 +1000)
commit0a84f83baaca1bc9dfe2f2de43448b6d26c924a9
treeff2d610f276983409e1d3448489a321acc25218a
parentbe92c682c7681c13af0fbfd77532fbafe925e4c2
wiggle: return the wiggled result from set-wiggle.

If set-wiggle is given ->comm2, and if there are no conflicts, return
the successful wiggle as a string.
Also if the attribute passed is an empty string, don't add any markup.
This can be used to only get the wiggle.

The intention of the "wiggle" command was to return the wiggle, but
there is some much commonality with set-wiggle that it seemed easiest to
add the functionality there.
So discard the unimplemented 'wiggle' command.

Signed-off-by: NeilBrown <neil@brown.name>
lib-wiggle.c