mirror of
https://github.com/ostreedev/ostree.git
synced 2025-03-19 22:50:35 +03:00
deltas: Make min-fallback-size 0 actually disable fallbacks
This is what the docs specify.
This commit is contained in:
parent
78f14555c8
commit
b22b859dc5
@ -1085,7 +1085,7 @@ generate_delta_lowlatency (OstreeRepo *repo,
|
||||
NULL, &uncompressed_size,
|
||||
cancellable, error))
|
||||
goto out;
|
||||
if (builder->min_fallback_size_bytes >= 0 &&
|
||||
if (builder->min_fallback_size_bytes > 0 &&
|
||||
uncompressed_size > builder->min_fallback_size_bytes)
|
||||
fallback = TRUE;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user