Git 1.6.0.2, Submodules and MacOSX Leopard
From: Lars Hoss <hidden>
Date: 2016-06-15 22:45:29
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