projects
/
cumulus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make use of size assertions in references where possible.
[cumulus.git]
/
subfile.cc
diff --git
a/subfile.cc
b/subfile.cc
index
dac7eda
..
df6d3b2
100644
(file)
--- a/
subfile.cc
+++ b/
subfile.cc
@@
-267,6
+267,7
@@
list<ObjectReference> Subfile::create_incremental(TarSegmentStore *tss,
db->StoreObject(ref, block_csum, analyzed_len, block_age);
if (analyzed_len >= 16384)
store_block_signatures(ref, new_block_summary);
+ ref.set_range(0, analyzed_len, true);
refs.push_back(ref);
delete o;
return refs;