git-submodule - Use "get_default_remote" from git-parse-remote
authorMark Levedahl <mlevedahl@gmail.com>
Sun, 24 Aug 2008 18:46:10 +0000 (14:46 -0400)
committerJunio C Hamano <gitster@pobox.com>
Sun, 24 Aug 2008 19:08:11 +0000 (12:08 -0700)
commit98fcf840af443a0a93b9a6cd1fada5af826383f3
tree05ec8519c1bbaa683607b6c119b48bc66d3b6fbe
parentd6096f17d2d5d9ccb453aabf8edc6ee238b166fc
git-submodule - Use "get_default_remote" from git-parse-remote

Resolve_relative_url was using its own code for this function, but
this is duplication with the best result that this continues to work.
Replace with the common function provided by git-parse-remote.

Signed-off-by: Mark Levedahl <mlevedahl@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-submodule.sh