Git 1.6.0.2, Submodules and MacOSX Leopard

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux