author | Lars Hjemli <hjemli@gmail.com> | |
Mon, 11 Jun 2007 19:12:22 +0000 (21:12 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 12 Jun 2007 08:06:21 +0000 (01:06 -0700) | ||
commit | bf2d824660c976e0d0e773f9c5095a6abaf388ae | |
tree | 780725e572d5a40ada82759076e2473034c759b8 | tree | snapshot |
parent | b10ee7606e14265c6116639aafccb863b77043f5 | commit | diff |
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>
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 | diff | blob | history |