mirror of
https://github.com/jkl1337/duplicacy.git
synced 2026-01-02 19:54:54 -06:00
Fixed a crashing bug when showing the history of excluded files
This commit is contained in:
@@ -1490,7 +1490,7 @@ func (manager *SnapshotManager) ShowHistory(top string, snapshotID string, revis
|
|||||||
}
|
}
|
||||||
if showLocalHash {
|
if showLocalHash {
|
||||||
localFile.Hash = manager.config.ComputeFileHash(joinPath(top, filePath), make([]byte, 32*1024))
|
localFile.Hash = manager.config.ComputeFileHash(joinPath(top, filePath), make([]byte, 32*1024))
|
||||||
if lastVersion.Hash != localFile.Hash {
|
if lastVersion == nil || lastVersion.Hash != localFile.Hash {
|
||||||
modifiedFlag = "*"
|
modifiedFlag = "*"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user