author | Michael J Gruber <git@drmicha.warpmail.net> | |
Tue, 3 Mar 2009 15:08:21 +0000 (16:08 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 4 Mar 2009 05:46:09 +0000 (21:46 -0800) | ||
commit | db75ada559dd4de99fedd1fc4f62a9273f032dd3 | |
tree | 4761f0ffa459a46195a6eeac39a4ed35334c3fa6 | tree | snapshot |
parent | ac8463d2b4c0e88011c40985bc519c0e2e2f2278 | commit | diff |
git submodule: Fix adding of submodules at paths with ./, .. and //
Make 'git submodule add' normalize the submodule path in the
same way as 'git ls-files' does, so that 'git submodule init' looks up
the information in .gitmodules with the same key under which 'git
submodule add' stores it.
This fixes 4 known breakages.
Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Make 'git submodule add' normalize the submodule path in the
same way as 'git ls-files' does, so that 'git submodule init' looks up
the information in .gitmodules with the same key under which 'git
submodule add' stores it.
This fixes 4 known breakages.
Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-submodule.sh | diff | blob | history | |
t/t7400-submodule-basic.sh | diff | blob | history |