Add safety check for local --remove-source-files.
authorWayne Davison <wayne@opencoder.net>
Sun, 21 Aug 2022 16:56:33 +0000 (09:56 -0700)
committerWayne Davison <wayne@opencoder.net>
Sun, 21 Aug 2022 17:19:23 +0000 (10:19 -0700)
commit5183c0d6f0bf6786d5e9fa149d0d00f664533441
treeb0051e529ce90fc9f89d8040ff63dc71ac340a90
parent706bff9176ccf6976e27040eb5729ce34c0058eb
Add safety check for local --remove-source-files.

A local_server copy now includes the dev+ino info from the destination
file so that the sender can make sure that it is not going to delete
the destination file.  Fixes mistakes such as:

  rsync -aiv --remove-source-files dir .
NEWS.md
generator.c
hlink.c
io.c
receiver.c
rsync.1.md
sender.c