Teach git-submodule.sh about the .git file
commitba88a1fee476a7895634beb9f33faf7e7b7908af
authorLars Hjemli <hjemli@gmail.com>
Wed, 20 Feb 2008 22:13:15 +0000 (20 23:13 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 9 Apr 2008 08:22:50 +0000 (9 01:22 -0700)
tree89bd374bf12a9e114dfa8a1df0ae45cf8b391f9c
parent842abf06f36b5b31050db6406265972e3e1cc189
Teach git-submodule.sh about the .git file

When git-submodule tries to detect 'active' submodules, it checks for the
existence of a directory named '.git'. This isn't good enough now that .git
can be a file pointing to the real $GIT_DIR so the tests are changed to
reflect this.

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-submodule.sh