提交 fe50eef5 编写于 作者: D Daniel Barkalow 提交者: Junio C Hamano

Fix adding a submodule with a remote url

Without this, a non-path URL gets lost before the clone.
Signed-off-by: NDaniel Barkalow <barkalow@iabervon.org>
Signed-off-by: NJunio C Hamano <gitster@pobox.com>
上级 6982ccec
......@@ -138,8 +138,8 @@ module_add()
# it is local
if base=$(get_repo_base "$repo"); then
repo="$base"
realrepo=$repo
fi
realrepo=$repo
;;
esac
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册