1
0
mirror of https://github.com/git/git synced 2024-07-05 00:58:49 +00:00

Fix adding a submodule with a remote url

Without this, a non-path URL gets lost before the clone.

Signed-off-by: Daniel Barkalow <barkalow@iabervon.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Daniel Barkalow 2007-09-29 19:39:54 -04:00 committed by Junio C Hamano
parent 6982ccecaf
commit fe50eef59b

View File

@ -138,8 +138,8 @@ module_add()
# it is local
if base=$(get_repo_base "$repo"); then
repo="$base"
realrepo=$repo
fi
realrepo=$repo
;;
esac