]> arthur.barton.de Git - bup.git/commit
Don't include atime when determining hardlink compatibility.
authorRob Browning <rlb@defaultvalue.org>
Tue, 5 Nov 2013 23:17:45 +0000 (17:17 -0600)
committerRob Browning <rlb@defaultvalue.org>
Wed, 6 Nov 2013 17:04:07 +0000 (11:04 -0600)
commitff5e91840c92fbb3af70731ede8696114dfee7aa
treee7cae14402b39cd475109ddfe5240120dd4564e1
parent1932d38fee5b96004b30c475d8d7daea708133a1
Don't include atime when determining hardlink compatibility.

Don't include the atimes since we're comparing two paths stat()ed at
different times, and depending on the
platform/filesystem/mount-options, that may result in two different
atimes, even when the paths refer to the same file.

Thanks to Alexander Barton <alex@barton.de> for tracking down the
problem.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Reviewed-by: Gabriel Filion <gabster@lelutin.ca>
cmd/restore-cmd.py
lib/bup/metadata.py