Implement but don't use code to use rsync's --compare-dest feature.
authorclaudio <claudio@openbsd.org>
Thu, 13 Jan 2022 11:50:29 +0000 (11:50 +0000)
committerclaudio <claudio@openbsd.org>
Thu, 13 Jan 2022 11:50:29 +0000 (11:50 +0000)
commitb435c97d1085bceb4b19a5f331eff57b0067d6e5
treee5d20e1efea7e3ce23fcae459e528c5e6e5f11b5
parent1c9657aba87ffda2cf5b09df6963b92619214943
Implement but don't use code to use rsync's --compare-dest feature.
One gotcha is that the path passed to --compare-dest needs to be relative
to the dst directory. rsync_fixup_dest() will prepend the necessary ../
for that by counting number of '/' in dst.
OK tb@
usr.sbin/rpki-client/main.c
usr.sbin/rpki-client/rsync.c