make new `copy-diffs` work over ssh