git-submodule: remember to checkout after clone
commitbf2d824660c976e0d0e773f9c5095a6abaf388ae
authorLars Hjemli <hjemli@gmail.com>
Mon, 11 Jun 2007 19:12:22 +0000 (11 21:12 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 12 Jun 2007 08:06:21 +0000 (12 01:06 -0700)
tree780725e572d5a40ada82759076e2473034c759b8
parentb10ee7606e14265c6116639aafccb863b77043f5
git-submodule: remember to checkout after clone

After the initial clone of a submodule, no files would be checked out in
the submodule directory if the submodule HEAD was equal to the SHA-1
specified in the index of the containing repository. This fixes the problem
by simply ignoring submodule HEAD for a fresh clone.

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