author | Nicolas Pitre <nico@cam.org> | |
Wed, 9 May 2007 18:42:42 +0000 (14:42 -0400) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Thu, 10 May 2007 22:22:33 +0000 (15:22 -0700) | ||
commit | 726f852b0ed7e03e88c419a9996c3815911c9db1 | |
tree | bd0fc241e9265851d7107982a26e4282ebca89d6 | tree | snapshot |
parent | 479b56ba50144b30f28c5b225d412125c07def9f | commit | diff |
deprecate the new loose object header format
Now that we encourage and actively preserve objects in a packed form
more agressively than we did at the time the new loose object format and
core.legacyheaders were introduced, that extra loose object format
doesn't appear to be worth it anymore.
Because the packing of loose objects has to go through the delta match
loop anyway, and since most of them should end up being deltified in
most cases, there is really little advantage to have this parallel loose
object format as the CPU savings it might provide is rather lost in the
noise in the end.
This patch gets rid of core.legacyheaders, preserve the legacy format as
the only writable loose object format and deprecate the other one to
keep things simpler.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Now that we encourage and actively preserve objects in a packed form
more agressively than we did at the time the new loose object format and
core.legacyheaders were introduced, that extra loose object format
doesn't appear to be worth it anymore.
Because the packing of loose objects has to go through the delta match
loop anyway, and since most of them should end up being deltified in
most cases, there is really little advantage to have this parallel loose
object format as the CPU savings it might provide is rather lost in the
noise in the end.
This patch gets rid of core.legacyheaders, preserve the legacy format as
the only writable loose object format and deprecate the other one to
keep things simpler.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/config.txt | diff | blob | history | |
builtin-pack-objects.c | diff | blob | history | |
cache.h | diff | blob | history | |
config.c | diff | blob | history | |
environment.c | diff | blob | history | |
sha1_file.c | diff | blob | history |