author | Mark Levedahl <mlevedahl@gmail.com> | |
Wed, 20 Aug 2008 02:18:23 +0000 (22:18 -0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 21 Aug 2008 06:18:53 +0000 (23:18 -0700) | ||
commit | 7c695619868d0b867c87b0bb83303e058e010ac5 | |
tree | b9b8526456dc897eb435e5db5c13e01e90fe10f8 | tree | snapshot |
parent | ea3594e04184475226109a21e71c539ff5f139fd | commit | diff |
git-submodule.sh - Remove trailing / from URL if found
git clone does not complain if a trailing '/' is included in the origin
URL, but doing so causes resolution of a submodule's URL relative to the
superproject to fail. Regardless of whether git is changed to remove the
trailing / before recording the URL, we should avoid this issue in
submodule as existing repositories can have this problem.
Signed-off-by: Mark Levedahl <mlevedahl@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git clone does not complain if a trailing '/' is included in the origin
URL, but doing so causes resolution of a submodule's URL relative to the
superproject to fail. Regardless of whether git is changed to remove the
trailing / before recording the URL, we should avoid this issue in
submodule as existing repositories can have this problem.
Signed-off-by: Mark Levedahl <mlevedahl@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-submodule.sh | diff | blob | history |