From: Job Snijders Date: Fri, 24 Nov 2023 09:46:37 +0000 (+0000) Subject: Don't set directory modtimes to match the source X-Git-Tag: 1.6.0~3^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F100%2Fhead;p=thirdparty%2FFORT-validator.git Don't set directory modtimes to match the source When syncing against remote repositories, the modtimes of the remote directories is irrelevant. In the RRDP protocol the directory modtimes aren't signalled either. This should save some IOPS. --- diff --git a/src/config.c b/src/config.c index 3ff514ba..2048051e 100644 --- a/src/config.c +++ b/src/config.c @@ -882,6 +882,7 @@ set_default_values(void) "--recursive", "--delete", "--times", + "--omit-dir-times", "--contimeout=20", "--timeout=15", "--max-size=20MB", @@ -891,6 +892,7 @@ set_default_values(void) static char const *flat_rsync_args[] = { "--times", + "--omit-dir-times", "--contimeout=20", "--timeout=15", "--max-size=20MB",