# Git 1.6.0.2, Submodules and MacOSX Leopard

1 messages from 2008-10-14 to 2008-10-14. Participants: Lars Hoss.
Thread: https://gitlist.dev/t/15887

## Lars Hoss, 2008-10-14 06:53

Subject: Git 1.6.0.2, Submodules and MacOSX Leopard
Message-ID: <678FF056-2A69-49EF-B0AF-8F6C4A17B831@woeye.net>
URL: https://gitlist.dev/e/678FF056-2A69-49EF-B0AF-8F6C4A17B831%40woeye.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

```
