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

[PATCH 0/5] sha1_file.c pack reading cleanups

From
Shawn Pearce <spearce@spearce.org>
Date
Aug 26, 2006, 08:10 UTC
Message-ID
<20060826081016.GB22343@spearce.org>

This is a 5 patch series built on `master`. I discovered these cleanups when I lifted code from sha1_file.c for fast-import.c (as I needed to read the pack I was writing and thus didn't have a nice sorted index to work with).

I'll probably follow this series with another one which libifies more of these functions to the point that I can actually use them from within fast-import.c, without having an index file. But I might first send partial pack mapping as I'm also doing that in fast-import.c right now.

In this series:
  1/5 Reorganize/rename unpack_non_delta_entry to unpack_compressed_entry.
  2/5 Reuse compression code in unpack_compressed_entry.
  3/5 Cleanup unpack_entry_gently and friends to use type_name array.
  4/5 Cleanup unpack_object_header to use only offsets.
  5/5 Convert unpack_entry_gently and friends to use offsets.
-- 
Shawn.
Message 1 of 1 in “sha1_file.c pack reading cleanups”
  1. 0/5 sha1_file.c pack reading cleanupsShawn Pearce, Aug 26, 2006

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.