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

Re: git-archive ignores submodules

From
Chris Packham <judge.packham@gmail.com>
Date
Apr 20, 2015, 08:51 UTC
Message-ID
<CAFOYHZAZvidjtTzyhF2_nD_bi27H-h=GT4F-MKm+h3RT5LB_gw@mail.gmail.com>
In-Reply-To
<CAL1ZDKbvNvTA3CFg5iWMYpOVDbxFwtpFCu+PO2onssO=+pw5XQ@mail.gmail.com>

On Fri, Apr 17, 2015 at 7:59 AM, Pedro Rodrigues <prodrigues1990@gmail.com> wrote: <snip>

> Not completely off topic, but for consistency consider that:
> git-clone supports --recursive and --recurse-submodules, which do the
> same thing.
> git-pull and git-push only support --recurse-submodules.

It took a while to get the terminology sorted but the eventual agreement[1] was "--recurse-submodules" was the best generally applicable flag for all commands. For backwards compatibility some commands that already had "--recursive" as an option have retained it

-- [1] - http://article.gmane.org/gmane.comp.version-control.git/160634

Previous: Pedro RodriguesNext: Kevin Daudt
Message 6 of 7 in “git-archive ignores submodules”
  1. Pedro RodriguesApr 16, 2015
  2. Fredrik GustafssonApr 16, 2015
  3. Pedro RodriguesApr 16, 2015
  4. Jens LehmannApr 16, 2015
  5. Pedro RodriguesApr 16, 2015
  6. Chris PackhamApr 20, 2015
  7. Kevin DaudtApr 19, 2015

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.