mw-to-git: use git-credential's URL parser
authorJeff King <peff@peff.net>
Wed, 18 Jul 2012 13:03:08 +0000 (09:03 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 18 Jul 2012 20:27:02 +0000 (13:27 -0700)
commit77eab053a48a2062665c42f63348ae12290de03f
tree5ed30af67b7b5a4f572e791b6c2d35981527c457
parent9c183a70722804114ac1dc54d17fe791ac1a452c
mw-to-git: use git-credential's URL parser

We can just feed our URL straight to git-credential and it
will parse it for us, saving us some code.

Signed-off-by: Jeff King <peff@peff.net>
Acked-by: Matthieu Moy <Matthieu.Moy@imag.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/mw-to-git/git-remote-mediawiki