Re: Revisiting large binary files issue.
From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:33
Carl Baldwin [off-list ref] writes:
First, I would like to be able to set the packing window to 0 for all of the git commands. It would be nice if I could set this in a per-repository config file so that any push/fetch operation would honor this window. Is there currently a way to do this?
Should not be hard to add.
Second, I would like to not pay the penalty to inflate and then deflate the objects into the pack when I use a window of 0. How hard would this be? I am a capable programmer and wouldn't mind getting my hands dirty in the code to implement this if someone could point me in the right direction.
The problem is that unpacked objects have the single line header (type followed by its inflated size in decimal) which starts the deflated stream, while in-pack representation of non-delta does not. There was an attempt to help doing this, but I haven't pursued it. http://article.gmane.org/gmane.comp.version-control.git/17368