git-submodule - Fix bugs in adding an existing repo as a module
commite9656473342e050494c8ea8416fdfdcf52fd1c93
authorMark Levedahl <mlevedahl@gmail.com>
Tue, 8 Jul 2008 02:36:40 +0000 (7 22:36 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 8 Jul 2008 23:37:25 +0000 (8 16:37 -0700)
treef791f6555503695fc7684a6023015c3fc1163f39
parentd773c6314d5660266313772b3fd8a466c3dbc559
git-submodule - Fix bugs in adding an existing repo as a module

git-submodule add would trip if path to the submodule included a space,
or if its .git was a gitdir: link to a GIT_DIR kept elsewhere. Fix both.

Signed-off-by: Mark Levedahl <mlevedahl@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-submodule.sh