Re: Revisiting large binary files issue.
- From
Junio C Hamano <junkio@cox.net>
- Date
- Jul 10, 2006, 23:14 UTC
- Message-ID
- <7v7j2l833o.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <20060710230132.GA11132@hpsvcnb.fc.hp.com>
Carl Baldwin <cnb@fc.hp.com> 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.
Show 5 quoted lines
> 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