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

[PATCH 0/6] archive: refactor and cleanup

From
René Scharfe <rene.scharfe@lsrfire.ath.cx>
Date
Jul 14, 2008, 19:21 UTC
Message-ID
<487BA74E.5070208@lsrfire.ath.cx>

This series is a collection of cleanups for git archive that I finally need to get out, reviewed and (hopefully!) integrated. It should make adding more format backends easier.

Patch 2 adds a context parameter to read_tree_recursive(), thus affecting all its callers. The rest of the patches change *archive*.[ch], only.

René
 archive-tar.c             |  115 ++++++++++++---------------------------
 archive-zip.c             |  102 +++++------------------------------
 archive.c                 |  132 ++++++++++++++++++++++++++++++++------------
 archive.h                 |   15 ++----
 builtin-archive.c         |   75 ++++++++++++--------------
 builtin-checkout.c        |    4 +-
 builtin-log.c             |    4 +-
 builtin-ls-tree.c         |    4 +-
 builtin-merge-recursive.c |    4 +-
 builtin-upload-archive.c  |   11 ++--
 tree.c                    |   12 ++--
 tree.h                    |    4 +-
 12 files changed, 208 insertions(+), 274 deletions(-)
Next: Lea Wiemann
Message 1 of 5 in “archive: refactor and cleanup”
  1. 0/6 archive: refactor and cleanupRené Scharfe, Jul 14, 2008
  2. Lea WiemannJul 14, 2008
  3. Lea WiemannJul 15, 2008
  4. René ScharfeJul 15, 2008
  5. Junio C HamanoJul 15, 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.