diff: teach the diff editor to append to existing patches