mirror of
https://github.com/jkl1337/duplicacy.git
synced 2026-01-04 20:54:44 -06:00
Fixed a bug that caused -hash to have no effect
This commit is contained in:
@@ -284,7 +284,7 @@ func (manager *BackupManager) Backup(top string, quickMode bool, threads int, ta
|
|||||||
// we simply treat all files as if they were new, and break them into chunks.
|
// we simply treat all files as if they were new, and break them into chunks.
|
||||||
// Otherwise, we need to find those that are new or recently modified
|
// Otherwise, we need to find those that are new or recently modified
|
||||||
|
|
||||||
if remoteSnapshot.Revision == 0 && incompleteSnapshot == nil {
|
if (remoteSnapshot.Revision == 0 || !quickMode) && incompleteSnapshot == nil {
|
||||||
modifiedEntries = localSnapshot.Files
|
modifiedEntries = localSnapshot.Files
|
||||||
for _, entry := range modifiedEntries {
|
for _, entry := range modifiedEntries {
|
||||||
totalModifiedFileSize += entry.Size
|
totalModifiedFileSize += entry.Size
|
||||||
|
|||||||
Reference in New Issue
Block a user