mirror of
https://github.com/gilbertchen/duplicacy
synced 2025-12-06 00:03:38 +00: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 {
|
||||
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 = "*"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user