From fe50eef59b049588b7dc9b5e02707084f0516b7f Mon Sep 17 00:00:00 2001 From: Daniel Barkalow Date: Sat, 29 Sep 2007 19:39:54 -0400 Subject: [PATCH] Fix adding a submodule with a remote url Without this, a non-path URL gets lost before the clone. Signed-off-by: Daniel Barkalow Signed-off-by: Junio C Hamano --- git-submodule.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-submodule.sh b/git-submodule.sh index 727b1d320..4aaaaab0d 100755 --- a/git-submodule.sh +++ b/git-submodule.sh @@ -138,8 +138,8 @@ module_add() # it is local if base=$(get_repo_base "$repo"); then repo="$base" - realrepo=$repo fi + realrepo=$repo ;; esac -- 2.30.2