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

Re: [PATCH] git-submodule - Add 'foreach' subcommand

From
Matthias Kestenholz <mk@spinlock.ch>
Date
Aug 11, 2008, 10:11 UTC
Message-ID
<1218449492.21750.2.camel@localhost>
In-Reply-To
<489FDC29.5090503@iksz.hu>
On Mon, 2008-08-11 at 08:28 +0200, Balazs Nagy wrote:
Show 6 quoted lines
> Hi,
> 
> Sorry for being a bit late, but what if we would have --all for all
> submodule commands instead of having another command?
> 
> Rgds,

This would not be very smart. The example in the documentation part of the patch would be impossible only with --all switches (or, you'd need to duplicate all git commands in git-submodule instead of reusing them with git submodule foreach)

Previous: Johannes SchindelinNext: Petr Baudis
Message 7 of 10 in “git-submodule - Add 'foreach' subcommand”
  1. git-submodule - Add 'foreach' subcommandMark Levedahl, Aug 10, 2008
  2. Johan HerlandAug 10, 2008
  3. Junio C HamanoAug 10, 2008
  4. git-submodule - Add 'foreach' subcommandMark Levedahl, Aug 10, 2008
  5. Balazs NagyAug 11, 2008
  6. Johannes SchindelinAug 11, 2008
  7. Matthias KestenholzAug 11, 2008
  8. Petr BaudisAug 11, 2008
  9. Junio C HamanoAug 11, 2008
  10. git-submodule foreach - Include output and clarify usage.Mark Levedahl, Aug 12, 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.