From: Junio C Hamano Date: Wed, 16 Jul 2008 17:04:18 GMT Subject: Re: [PATCH 0/5] add pack index v2 reading capability to git v1.4.4.4 Message-ID: <7vprpdsqul.fsf@gitster.siamese.dyndns.org> In-Reply-To: Linus Torvalds writes: > On Wed, 16 Jul 2008, Nicolas Pitre wrote: >> >> Junio: if you could just apply them, tag the result as v1.4.4.5 and >> push it out then at that point it simply will be up to Debian to make >> it available as a "major usability fix". > > Actually, it fixes a crash. Didn't 1.4.4 SIGSEGV without this on pack-v2? > > So you don't even have to sell it as a usability issue, but literally as a > bugfix. It's tagged and pushed out to both kernel.org and repo.or.cz. Thanks, Nico. I won't be doing my usual full release engineering on this one, but I did: - repack a copy of git.git to use pack idx version #2 for trial. Hint. A handy way to tell which version of packfile you have is to run this: $ od -c .git/objects/pack/pack-$your_pack_id.idx | head -n 1 If the output begins with "377 t 0 c", you have pack idx version #2. - check "git log" from v1.4.4.4 (fails) and v1.4.4.5 (reads ok) - repack this copy with "git repack" from 1.4.4.5. This produced a repository usable by v1.4.4.4. I also updated /pub/scm/git/git.git/config at kernel.org to use [pack] indexVersion = 1 for now. The repository is also repacked with pack idx version #1.