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

Re: question about git-submodule

From
Alex Riesen <raa.lkml@gmail.com>
Date
Jul 15, 2007, 13:50 UTC
Message-ID
<20070715135057.GI2568@steel.home>
In-Reply-To
<20070715105450.GD7106@genesis.frugalware.org>
VMiklos, Sun, Jul 15, 2007 12:54:50 +0200:
Show 8 quoted lines
> Na Sun, Jul 15, 2007 at 12:47:12PM +0200, Alex Riesen <raa.lkml@gmail.com> pisal(a):
> > to. Subprojects defined in such a loosely way are more flexible then
> > having git-pull fetch subprojects by default. Sometimes I even want be
> > _sure_ the subprojects are completely untouched (I have some critical
> > parts in them).
> 
> Okay, but where can you overwrite that default? It would be nice to have
> a config variable for this or something like that.

It is not a default in a sense where it control the behaviour of a git command. git pull just does not do anything to subprojects and you use a separate command (git-submodule update, I believe) to update them.

That said, I never used the git-submodule, nor did I have an urge to. As I said, I find it convenient enough as it is with git-add and git-diff, checking out the subproject as needed. Have to be careful about "git commit -a" (which I almost never use anyway) and haven't had conflicts yet.

Previous: VMiklosNext: VMiklos
Message 5 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.