Don't check ctime when ignoring inode.
This commit is contained in:
parent
b8c2544dcb
commit
35b7607802
1 changed files with 1 additions and 1 deletions
|
@ -455,7 +455,7 @@ func fileChanged(fi os.FileInfo, node *restic.Node, ignoreInode bool) bool {
|
||||||
|
|
||||||
// check status change timestamp
|
// check status change timestamp
|
||||||
extFI := fs.ExtendedStat(fi)
|
extFI := fs.ExtendedStat(fi)
|
||||||
if !extFI.ChangeTime.Equal(node.ChangeTime) {
|
if !ignoreInode && !extFI.ChangeTime.Equal(node.ChangeTime) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue