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

Re: question about git-submodule

From
SVSven Verdoolaege <skimo@kotnet.org>
Date
Jul 15, 2007, 13:52 UTC
Message-ID
<20070715135218.GE999MdfPADPa@greensroom.kotnet.org>
In-Reply-To
<20070715134212.GH2568@steel.home>
On Sun, Jul 15, 2007 at 03:42:12PM +0200, Alex Riesen wrote:
Show 8 quoted lines
> Sven Verdoolaege, Sun, Jul 15, 2007 13:51:48 +0200:
> > I agree that fetching should probably be left as a separate operation,
> > but if you have all the data, then I find it very inconvenient that
> > every time you switch to a different commit you have to update
> > all the subprojects separately too.
> 
> I found I do _not_ need to do it every time I switch to a different
> commit.

Ok. Then I guess we have different needs and I should only do it if some config option is set if I ever try to resend the patch.

Show 5 quoted lines
> > The update in the superproject would fail if the subproject is dirty
> > (just as with files.)
> 
> Haven't noticed this yet. Merge ignores subprojects. What do you mean?
> 

I mean that if such a feature would be implemented, then it wouldn't go ahead with the update if some of the subprojects couldn't be updated.

skimo
Previous: Alex RiesenNext: Eran Tromer
Message 19 of 22 in “question about git-submodule”
  1. VMiklosJul 13, 2007
  2. Sven VerdoolaegeJul 15, 2007
  3. Alex RiesenJul 15, 2007
  4. VMiklosJul 15, 2007
  5. Alex RiesenJul 15, 2007
  6. VMiklosJul 15, 2007
  7. Sven VerdoolaegeJul 15, 2007
  8. VMiklosJul 15, 2007
  9. Sven VerdoolaegeJul 15, 2007
  10. VMiklosJul 15, 2007
  11. Sven VerdoolaegeJul 15, 2007
  12. VMiklosJul 15, 2007
  13. Sven VerdoolaegeJul 15, 2007
  14. VMiklosJul 15, 2007
  15. Sven VerdoolaegeJul 16, 2007
  16. VMiklosJul 16, 2007
  17. Sven VerdoolaegeJul 15, 2007
  18. Alex RiesenJul 15, 2007
  19. Sven VerdoolaegeJul 15, 2007
  20. Eran TromerAug 3, 2007
  21. Sven VerdoolaegeAug 5, 2007
  22. Eran TromerAug 6, 2007

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.