git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 0/5] add pack index v2 reading capability to git v1.4.4.4

From
Junio C Hamano <gitster@pobox.com>
Date
Jul 16, 2008, 17:04 UTC
Message-ID
<7vprpdsqul.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<alpine.LFD.1.10.0807160924340.2835@woody.linux-foundation.org>
Linus Torvalds <torvalds@linux-foundation.org> writes:
Show 10 quoted lines
> 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.
Previous: Linus TorvaldsNext: Junio C Hamano
Message 9 of 12 in “add pack index v2 reading capability to git v1.4.4.4”
  1. 0/5 add pack index v2 reading capability to git v1.4.4.4Nicolas Pitre, Jul 16, 2008
  2. 1/5 clean up pack index handling a bitNicolas Pitre, Jul 16, 2008
  3. 2/5 clean up and optimize nth_packed_object_sha1() usageNicolas Pitre, Jul 16, 2008
  4. 3/5 get rid of num_packed_objects()Nicolas Pitre, Jul 16, 2008
  5. 4/5 pack-objects: learn about pack index version 2Nicolas Pitre, Jul 16, 2008
  6. 5/5 sha1_file.c: learn about index version 2Nicolas Pitre, Jul 16, 2008
  7. Johannes SchindelinJul 16, 2008
  8. Linus TorvaldsJul 16, 2008
  9. Junio C HamanoJul 16, 2008
  10. Junio C HamanoJul 16, 2008
  11. Linus TorvaldsJul 16, 2008
  12. Junio C HamanoJul 17, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.