./configure (optional if already run)
make
-based-on: d1a1fec1340254926e17f5d83f848f7574286a33
+based-on: c4a3f55be35726d0a033996dc37b0fb248b45cb5
diff --git a/generator.c b/generator.c
--- a/generator.c
+++ b/generator.c
int unchanged_file(char *fn, struct file_struct *file, STRUCT_STAT *st)
{
+ if (date_only)
-+ return cmp_time(st->st_mtime, file->modtime) == 0;
++ return time_diff(st, file) == 0;
+
if (st->st_size != F_LENGTH(file))
return 0;
{"one-file-system", 'x', POPT_ARG_NONE, 0, 'x', 0, 0 },
{"no-one-file-system",0, POPT_ARG_VAL, &one_file_system, 0, 0, 0 },
{"no-x", 0, POPT_ARG_VAL, &one_file_system, 0, 0, 0 },
-@@ -2659,6 +2662,9 @@ void server_options(char **args, int *argc_p)
+@@ -2683,6 +2686,9 @@ void server_options(char **args, int *argc_p)
else if (missing_args == 1 && !am_sender)
args[ac++] = "--ignore-missing-args";
-@, --modify-window=NUM set the accuracy for mod-time comparisons
-T, --temp-dir=DIR create temporary files in directory DIR
-y, --fuzzy find similar file for basis if no dest file
-@@ -606,6 +607,12 @@ time to just looking for files that have changed in size. This is useful
+@@ -607,6 +608,12 @@ time to just looking for files that have changed in size. This is useful
when starting to use rsync after using another mirroring system which may
not preserve timestamps exactly.