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

Re: git-archive and submodules

From
Thomas Rast <trast@student.ethz.ch>
Date
Jul 20, 2009, 20:56 UTC
Message-ID
<200907202256.26669.trast@student.ethz.ch>
In-Reply-To
<41ceb5540907200922r5decb047h75e723a1809b587e@mail.gmail.com>
Woody Gilk wrote:
> I would find it hugely valuable if git-archive would support
> submodules, rather than leaving empty files in the place of
> submodules.

Such support was already in the pipeline before 1.6.2, see this thread:

  http://thread.gmane.org/gmane.comp.version-control.git/107030

Lars' series is still available from the repo mentioned in one of the messages

  git://hjemli.net/pub/git/git lh/traverse-gitlinks

but does not merge into master cleanly any more, because an earlier version of the first commit (of now three) made it into 1.6.2. For your testing convenience, I rebased the other two commits on 'master' and pushed them to

  git://repo.or.cz/git/trast.git lh/traverse-gitlinks-on-master

All conflicts were trivial, but I made a minor change: there's already a t5001 from 8aece7f (archive test: attributes, 2009-04-18), so I renamed it to t5002 in the tip commit.

-- 
Thomas Rast
trast@{inf,student}.ethz.ch
Previous: Avery Pennarun
Message 3 of 3 in “git-archive and submodules”
  1. Woody GilkJul 20, 2009
  2. Avery PennarunJul 20, 2009
  3. Thomas RastJul 20, 2009

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.