git-submodule: move cloning into a separate function
authorLars Hjemli <hjemli@gmail.com>
Wed, 6 Jun 2007 09:13:01 +0000 (11:13 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 6 Jun 2007 09:49:08 +0000 (02:49 -0700)
commit33aa6fff5d502d8e2806d31bb0916006993c1f24
treef14f30135cdd8e292487691682a21dcbfc370ed8
parent6abd0fb396a0c575dafd4e1021d37d178740396c
git-submodule: move cloning into a separate function

This is just a simple refactoring of modules_init() with no change in
functionality.

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