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

Re: [PATCH] submodule: teach "foreach" command a --revision <tree-ish> option

From
Jay Soffian <jaysoffian@gmail.com>
Date
Oct 9, 2012, 21:38 UTC
Message-ID
<CAG+J_DxeqPU=rLeJj0fR6Ojo7S=3fhStCo=xMXoO3CFYGMYZ3Q@mail.gmail.com>
In-Reply-To
<5074956E.3060909@web.de>
On Tue, Oct 9, 2012 at 5:21 PM, Jens Lehmann <Jens.Lehmann@web.de> wrote:
Show 6 quoted lines
> Nothing I can think of right now, the above is a pretty good summary.
> My gut feeling is that having "git submodule foreach --revision ..."
> recurse through submodules whose work trees are out of sync is pretty
> fragile and could easily lead to inconsistencies. So I tend to think
> adding a custom script to the release process Jay uses which does the
> tagging itself might be a better solution here. Opinions?

I agree now that this is a perilous option, and that its use case may be so narrow that it may not worth adding. I am indeed already using a custom script, and maybe I should leave it at that.

j.
Previous: Jens LehmannNext: Junio C Hamano
Message 7 of 8 in “submodule: teach "foreach" command a --revision <tree-ish> option”
  1. submodule: teach "foreach" command a --revision <tree-ish> optionJay Soffian, Oct 9, 2012
  2. Junio C HamanoOct 9, 2012
  3. Junio C HamanoOct 9, 2012
  4. Jay SoffianOct 9, 2012
  5. Junio C HamanoOct 9, 2012
  6. Jens LehmannOct 9, 2012
  7. Jay SoffianOct 9, 2012
  8. Junio C HamanoOct 9, 2012

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.