]> git.ipfire.org Git - thirdparty/rsync.git/commit
Add support for comparing nanoseconds on the receiver.
authorWayne Davison <wayned@samba.org>
Sun, 24 Jan 2016 19:12:38 +0000 (11:12 -0800)
committerWayne Davison <wayned@samba.org>
Sun, 24 Jan 2016 19:16:10 +0000 (11:16 -0800)
commit839dbff2aaf0277471e1986a3cd0f869e0bdda24
tree9bb4f89f5fe30e0308b9639c9f7aa0f827008b91
parentf6f5ea41737b7802b47fe3e7964c76b5e87668a0
Add support for comparing nanoseconds on the receiver.

This patch adds the ability to specify --modify-window=-1 (aka -@-1) to
ask rsync to compare files with the full nanosecond timestamps.  The
default is still -@0 for the moment, which ignores nanoseconds in time
comparisons.  Changing the default to -1 would cause a copy from ext4 to
ext3 to constantly compare as different, or a copy there and back again
to do a full copy as it zeroed all the nanosecond times.  Such a change
might be too much of a functional difference for things like backup
solutions to handle without a warning period.  The current plan is to
support nanosecond comparisons for those that want them, and possibly
change the default window value from 0 to -1 at some point in the
future.
generator.c
options.c
rsync.yo
util.c