Populate block offsets even if the blocks are not diffed

This commit is contained in:
Audrius Butkevicius committed 2014-10-17 23:16:29 +01:00
1 parent 86a57d8b56
commit aa168ec2d6
2 files changed
+11 -7

No files matched your search

+2
View File
@@ -453,6 +453,8 @@ func (p *Puller) handleFile(file protocol.FileInfo, copyChan chan<- copyBlocksSt
FilesAreDifferent:
scanner.PopulateOffsets(file.Blocks)
// Figure out the absolute filenames we need once and for all
tempName := filepath.Join(p.dir, defTempNamer.TempName(file.Name))
realName := filepath.Join(p.dir, file.Name)