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.