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

Re: Restart submodule update --recursive

From
LPLukasz Palczewski <l.palczewski@prevac.pl>
Date
Nov 2, 2010, 08:18 UTC
Message-ID
<4CCFC94B.2010708@prevac.pl>
In-Reply-To
<212962199.646095.1288423075790.JavaMail.fmail@mwmweb046>
Jens Lehmann wrote:
Show 14 quoted lines
>> Let me know if this change will be in next version of git.
> Sorry I'm coming late into this thread,but I'm still traveling.
>
> Lukasz, maybe you could wait until I finish the recursive checkout I am
> currently working on? Because then there will be no need to run
> "git submodule update" anymore, but "git checkout" will update
> submodules recursively too. And it will only fail if the checkout would
> overwrite your local modifications, not just because the submodule is
> modified in some way, and in this case it won't start at all instead of stopping
> somewhere in between (you can test that new behavior by checking
> out the branch "enhance_git_for_submodules" of my github repo:
> http://github.com/jlehmann/git-submod-enhancements ).
>
> Would that solve your problem?

Hi Jens, Well I will wait for it and see if it does, but it will not solve all the problems. Once I had a problem, when someone forgot to push a commit in the submodule, but pushed a commit in the main repository. Becouse of it, I could not update that repository. If this problem occours, I will have to update all the submodules with the one command "git submodules update --recursive" (when someone finally pushes the submodule). If the "git checkout" updates the rest ( not updated) submodules, but not check the ones, that were updated earlier, then it will work for me.

Previous: Jens LehmannNext: Jens Lehmann
Message 10 of 11 in “Restart submodule update --recursive”
  1. Lukasz PalczewskiOct 28, 2010
  2. Johan HerlandOct 28, 2010
  3. Lukasz PalczewskiOct 29, 2010
  4. Jonathan NiederOct 28, 2010
  5. Lukasz PalczewskiOct 29, 2010
  6. Jonathan NiederOct 29, 2010
  7. Lukasz PalczewskiOct 29, 2010
  8. Jonathan NiederOct 29, 2010
  9. Jens LehmannOct 30, 2010
  10. Lukasz PalczewskiNov 2, 2010
  11. Jens LehmannNov 2, 2010

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.