Teach "delta" attribute to pack-objects.
authorJunio C Hamano <junkio@cox.net>
Sat, 19 May 2007 07:39:31 +0000 (00:39 -0700)
committerJunio C Hamano <junkio@cox.net>
Tue, 22 May 2007 06:58:20 +0000 (23:58 -0700)
commita74db82e15cd8a2c53a4a83e9a36dc7bf7a4c750
tree153bd3d6a6b913f07403ec91b4649a5105d32bec
parentbc32fed5516375ef78bc0f6270eb57bf1bb12d47
Teach "delta" attribute to pack-objects.

This teaches pack-objects to use .gitattributes mechanism so
that the user can specify certain blobs are not worth spending
CPU cycles to attempt deltification.

The name of the attrbute is "delta", and when it is set to
false, like this:

== .gitattributes ==
*.jpg -delta

they are always stored in the plain-compressed base object
representation.

Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-pack-objects.c