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:
parent
6982ccecaf
commit
fe50eef59b
@ -138,8 +138,8 @@ module_add()
|
||||
# it is local
|
||||
if base=$(get_repo_base "$repo"); then
|
||||
repo="$base"
|
||||
realrepo=$repo
|
||||
fi
|
||||
realrepo=$repo
|
||||
;;
|
||||
esac
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user