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

Re: submodules

From
Jens Lehmann <jens.lehmann@web.de>
Date
May 3, 2013, 19:51 UTC
Message-ID
<51841558.4080004@web.de>
In-Reply-To
<CAH_OBieziOGOJrr=wFS-DbMOH=qzmECDziT9hQNX5GxKvNhGyw@mail.gmail.com>
Am 03.05.2013 15:45, schrieb shawn wilson:
Show 18 quoted lines
> So, I actually have another question I wasn't able to get to in this
> example (which has color - sorry - less -F displays it decently)
> 
> What is shown here is that trying to add submodules in this repo
> doesn't add the .gitmodules file - I can do it manually, but why isn't
> it adding the file? There's a .git/modules directory populated with
> the right stuff, but no .gitmodules file.
> 
> The initial question I was trying to demonstrate was that I've got a
> repo with submodules. When I push branches to most of the modules, a:
> git branch -r shows them for everyone. However, in one repo/module (I
> think it's a repo created with git --bare --shared) no one else can
> see (or pull) the remote branches and if I make a new clone of that
> repo as myself, I can't see them either. However, those branches are
> there and if I check that repo out on its own (not as a submodule of
> the main repo) I and everyone else can see those remote branches.
> 
> This is git 1.8.2.1 btw.

Thanks for your report. Unfortunately I'm not able to see much in your attachment, could you please try to reproduce your problem with a few shell commands and send these inline?

Previous: shawn wilson
Message 2 of 2 in “submodules”
  1. shawn wilsonMay 3, 2013
  2. Jens LehmannMay 3, 2013

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.