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

Re: git-archive and submodules

From
Jens Lehmann <jens.lehmann@web.de>
Date
Apr 20, 2012, 08:11 UTC
Message-ID
<4F911A2C.4070306@web.de>
In-Reply-To
<CALKBF2gwVr0rPn0y8=cvwqOsUb7eQPH7EdK5U+gfZMzh=RpiKw@mail.gmail.com>
Am 19.04.2012 22:10, schrieb André Caron:
Show 16 quoted lines
> Hi,
> 
> I've recently needed to create a source code archive as part of a
> custom build target.  This repository uses submodules and I need to
> include the submodlule's source code in the archives too.  However,
> git-archive does not have any option to do so.
> 
> I've taken a quick look at the GMANE mailing list archives and it
> seems this provoked quite a discussion in 2009 and that Lars Hjemli
> even wrote a patch (in several flavors) for archive.c to include
> submodule-aware processing.  The lastest source code at
> `git.kernel.org` does not contain any traces of this patch (or
> submodule aware logic for that matter).  The mailing list archives are
> not very convenient to browse and I can't figure out what the status
> on this submodule-aware git-archive idea is.  Has this idea been
> completely rejected, or is it still work in progress?

The idea is not rejected, this would be a worthwhile addition. It has been brought up again last May, but as far as I know it is stalled since then: http://comments.gmane.org/gmane.comp.version-control.git/172851

Previous: André CaronNext: André Caron
Message 2 of 6 in “git-archive and submodules”
  1. André CaronApr 19, 2012
  2. Jens LehmannApr 20, 2012
  3. Fwd: git-archive and submodulesAndré Caron, Apr 20, 2012
  4. Robert QuattlebaumApr 22, 2012
  5. Damien RegadOct 10, 2013
  6. Amit BakshiOct 10, 2013

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.