credential: convert "url" attribute into its parsed subparts
commit9c183a70722804114ac1dc54d17fe791ac1a452c
authorJeff King <peff@peff.net>
Wed, 18 Jul 2012 12:06:26 +0000 (18 08:06 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 18 Jul 2012 20:26:58 +0000 (18 13:26 -0700)
treeb48463c9c4bd5d7ecfff1aac55cd0715f02f8d5c
parent6319a2a148adaa78f11414e914f8c9f3f1c52b5e
credential: convert "url" attribute into its parsed subparts

The git-credential command requires that you feed it a
broken-down credential, which means that the client needs to
parse a URL itself. Since we have our own URL-parsing
routines, we can easily allow the caller to just give us the
URL as-is, saving them 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>
Documentation/git-credential.txt
credential.c