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

Fwd: git-archive and submodules

From
ACAndré Caron <andre.l.caron@gmail.com>
Date
Apr 20, 2012, 18:32 UTC
Message-ID
<CALKBF2jzL5-mHaVi1erA=EiF_DALF1Rvwv7yB5CfdEdQa2ZhBg@mail.gmail.com>
In-Reply-To
<4F911A2C.4070306@web.de>
Hi Robert,

I've recently raised the same submodule issue with git-archive you and Lars have in the past.

What's the status on your application of the git-archive submodule patch? Have you applied the changes suggested by Lens Lehmann[1]? Your Git fork on GitHub[2] seems to have only applied Lars' patch and an unrelated SVN glob fix...

Since you've touched this only last year, I'd like to know where you were at and I can see if I can pick up where you left off (unless you want to finish yourself).

Thanks, André

[1]: http://comments.gmane.org/gmane.comp.version-control.git/172851 [2]: https://github.com/darconeous/git

---------- Forwarded message ----------
From: Jens Lehmann <Jens.Lehmann@web.de>
Date: Fri, Apr 20, 2012 at 4:11 AM
Subject: Re: git-archive and submodules
To: André Caron <andre.l.caron@gmail.com>
Cc: git@vger.kernel.org
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: Jens LehmannNext: Robert Quattlebaum
Message 3 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.