I see your point. So I guess it really comes down to how the file is 
anticipated to change. If only one or two line are going to change every now 
and then, then LFS is not really necessary. But, as you mentioned, text files 
that change drastically will affect the repository in the same way that 
binaries do.


> On 24 Jul 2017, at 2:13 pm, David Lang <da...@lang.hm> wrote:
> 
> On Mon, 24 Jul 2017, Farshid Zavareh wrote:
> 
>> I'll probably test this myself, but would modifying and committing a 4GB 
>> text file actually add 4GB to the repository's size? I anticipate that it 
>> won't, since Git keeps track of the changes only, instead of storing a copy 
>> of the whole file (whereas this is not the case with binary files, hence the 
>> need for LFS).
> 
> well, it wouldn't be 4G because text compresses well, but if the file changes 
> drastically from version to version (say a quarterly report), the diff won't 
> help.
> 
> David Lang

Reply via email to