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

Git 1.6.0.2, Submodules and MacOSX Leopard

From
Lars Hoss <lars@woeye.net>
Date
Oct 14, 2008, 06:53 UTC
Message-ID
<678FF056-2A69-49EF-B0AF-8F6C4A17B831@woeye.net>
Greetings everyone!

Last night I played around with submodules on MacOSX Leopard using Git 1.6.0.2. And it seems there is a bug.

If I add a submodule like this:
git submodule add /Users/lars/tmp/git_test/foo_lib/ lib
It says:

Initialized empty Git repository in /Users/lars/tmp/git_test/ sample_app/lib/.git/

And I can see the lib folder. So far so good. But when I do a git status it says:

# On branch master # Changes to be committed: # (use "git reset HEAD <file>..." to unstage) # # new file: .gitmodules # new file: lib # # Untracked files: # (use "git add <file>..." to include in what will be committed) # # lib/

So why is lib listed under untracked files? I did a quick test on my Linux server and there it worked as expected. Which means that lib wasn't listed under untracked files. Then again I use an older version of git on my Linux box (1.5.x).

Yours, Lars

Message 1 of 1 in “Git 1.6.0.2, Submodules and MacOSX Leopard”
  1. Lars HossOct 14, 2008

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.