From: Daniel Barkalow Date: Sat, 29 Sep 2007 23:39:54 +0000 (-0400) Subject: Fix adding a submodule with a remote url X-Git-Tag: v1.5.4-rc0~400 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=fe50eef59b049588b7dc9b5e02707084f0516b7f;p=git.git 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 --- 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