summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ceec136)
raw | patch | inline | side by side (parent: ceec136)
author | Junio C Hamano <junkio@cox.net> | |
Mon, 17 Jul 2006 22:10:10 +0000 (15:10 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Tue, 25 Jul 2006 21:15:48 +0000 (14:15 -0700) |
With this, unpack-objects will write out the loose objects with
new-style headers when core.legacyheaders configuration is set
to false.
One unfortunate thing is that we still need inflate/deflate cycle
when unpacking, even for objects in the pack stream that are not
deltified, because it is not possible to determine the boundary of
objects in the encoded stream cheaply without inflating it first.
Signed-off-by: Junio C Hamano <junkio@cox.net>
new-style headers when core.legacyheaders configuration is set
to false.
One unfortunate thing is that we still need inflate/deflate cycle
when unpacking, even for objects in the pack stream that are not
deltified, because it is not possible to determine the boundary of
objects in the encoded stream cheaply without inflating it first.
Signed-off-by: Junio C Hamano <junkio@cox.net>
unpack-objects.c | patch | blob | history |
diff --git a/unpack-objects.c b/unpack-objects.c
index 48c1ee7968cc6b40cb02cd99d35e66630f922041..b23fe58ce158acdeb077be94fd58ed80a3c2b698 100644 (file)
--- a/unpack-objects.c
+++ b/unpack-objects.c
unsigned char sha1[20];
setup_git_directory();
+ git_config(git_default_config);
quiet = !isatty(2);