On Tue, Jun 25, 2019 at 10:53:29AM -0400, Nalin Dahyabhai wrote:
On Fri, Jun 21, 2019 at 06:09:31PM +0200, Adrian Reber wrote:
> One reason I am not convinced that 'diff' is the right approach is if
> only 1 byte is changed in a large file. I hope that overlay is smart
> enough to only store the diff of the changed block (if that is how
> overlay works). Using 'diff' probably the complete large file has to be
> transferred even if only 1 byte changes.
Overlay works at the level of whole files. Layer blobs that are used
when transporting and storing images also include whole files, because
they're .tar archives.
HTH,
That helps indeed. Thanks. So no matter if I go through commit or diff I
will always get the whole file. Good to know.
Adrian