]> git.neil.brown.name Git - wiggle.git/commit
Browse: ensure we erase all of old type name when updating position data.
authorNeilBrown <neilb@suse.de>
Sun, 11 Nov 2012 22:25:12 +0000 (09:25 +1100)
committerNeilBrown <neilb@suse.de>
Sun, 11 Nov 2012 22:25:12 +0000 (09:25 +1100)
commit084ce55b3e895788c7139a508e9b20aac524f547
tree08d0ee7048df47530266867368c152fb6b711679
parent96a6e677ce2f51f1d366ba9179491b93b4bf89e5
Browse: ensure we erase all of old type name when updating position data.

Top-right of the merge window identifies the current location in
the merge.  It is variable length and right justified, so we need to make
sure we erase start of old value before writing new value.
Old code only allowed for a difference of three which didn't cope
with, for example, change from AlreadyApplied to Changed.
So be more thorough.

Signed-off-by: NeilBrown <neilb@suse.de>
vpatch.c