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

Re: Submodules

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Aug 8, 2007, 21:12 UTC
Message-ID
<Pine.LNX.4.64.0708082211100.21857@racer.site>
In-Reply-To
<200708082147.57822.andyparkins@gmail.com>
Hi,
On Wed, 8 Aug 2007, Andy Parkins wrote:
Show 8 quoted lines
> On Wednesday 2007, August 08, Johannes Schindelin wrote:
> 
> > Also, I realised that git is not really happy unless you install
> > alternates pointing to the object stores of the submodules.  Shouldn't we
> > make this my default (for example in "init")?
> 
> I use submodules on a daily basis and haven't experienced this at all.  
> Would you mind saying a little more about this problem?
Not at all!

This is what I did. I cloned msysgit.git, which contains one submodule. To initialise that, I did "git submodule init" and "git submodule update". It went and cloned the submodule. Fine.

Then I committed in the submodule, a well-needed fix.

If I now go to the superproject again, and say "git submodule status", it will not find the newest commit, and complain that it cannot access that object.

Ciao, Dscho

Previous: Andy ParkinsNext: Sven Verdoolaege
Message 17 of 19 in “Submodules”
  1. Dmitry KakurinAug 7, 2007
  2. Johannes SchindelinAug 7, 2007
  3. Dmitry KakurinAug 7, 2007
  4. Sven VerdoolaegeAug 8, 2007
  5. Johannes SchindelinAug 7, 2007
  6. Dmitry KakurinAug 7, 2007
  7. Johannes SchindelinAug 8, 2007
  8. Sven VerdoolaegeAug 8, 2007
  9. Junio C HamanoAug 8, 2007
  10. Johannes SchindelinAug 8, 2007
  11. Junio C HamanoAug 8, 2007
  12. Sven VerdoolaegeAug 8, 2007
  13. Junio C HamanoAug 8, 2007
  14. Johannes SchindelinAug 8, 2007
  15. Junio C HamanoAug 8, 2007
  16. Andy ParkinsAug 8, 2007
  17. Johannes SchindelinAug 8, 2007
  18. Sven VerdoolaegeAug 9, 2007
  19. Sven VerdoolaegeAug 8, 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.