Re: kernel.org and GIT tree rebuilding
- From
Junio C Hamano <junkio@cox.net>
- Date
- Jun 26, 2005, 19:45 UTC
- Message-ID
- <7vll4wq4va.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <Pine.LNX.4.58.0506261206170.19755@ppc970.osdl.org>
>>>>> "LT" == Linus Torvalds <torvalds@osdl.org> writes:
LT> On Sun, 26 Jun 2005, Junio C Hamano wrote:
>> >> My preference is to do things in this order: >> >> (0) concatenate pack and idx files;
LT> So let's just keep the index/data files separate.
Fair enough. Having thought about it a bit more, if people agree, I think it would make more sense to rip out "delta" object support first before doing read_sha1_file() and friends that uses .git/objects/pack.
My "preferred order" now look like this:
(1) have people with deltified repositories convert them back
to undeltified (I think git-pack-objects would barf on such
repository); (2) drop "delta" objects from GIT_OBJECT_DIRECTORY; this means
that git-deltafy-script and git-mkdelta have to go. (3) teach read_sha1_file() to read from packed GIT in
.git/objects/pack;(4) teach fsck-cache about packed GIT;
(5) tell git-*-pull about packed GIT;