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>
Daniel Barkalow committed
Sep 29, 2007 at 19:39 UTC
fe50eef59b049588b7dc9b5e02707084f0516b7f
1 file changed
+1
-1
git-submodule.sh
+1
-1
@@ -138,8 +138,8 @@ module_add()
138
# it is local
139
if base=$(get_repo_base "$repo"); then
140
repo="$base"
141
- realrepo=$repo
141
fi
142
+ realrepo=$repo
143
;;
144
esac
145