mirror of
https://github.com/octoleo/restic.git
synced 2024-11-26 06:46:34 +00:00
Don't check ctime when ignoring inode.
This commit is contained in:
parent
b8c2544dcb
commit
35b7607802
@ -455,7 +455,7 @@ func fileChanged(fi os.FileInfo, node *restic.Node, ignoreInode bool) bool {
|
||||
|
||||
// check status change timestamp
|
||||
extFI := fs.ExtendedStat(fi)
|
||||
if !extFI.ChangeTime.Equal(node.ChangeTime) {
|
||||
if !ignoreInode && !extFI.ChangeTime.Equal(node.ChangeTime) {
|
||||
return true
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user