[PATCH 3/4] credential: convert url attribute into its parsed subparts

2012-07-18 Thread Jeff King
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

Re: [PATCH 3/4] credential: convert url attribute into its parsed subparts

2012-07-18 Thread Matthieu Moy
Jeff King p...@peff.net writes: $ echo https://u...@example.com | git credential ident protocol=https host=example.com username=user since I had no use for it, but it would obviously be an easy one-liner to write (it's just fill without the actual fill call). I was thinking the

Re: [PATCH 3/4] credential: convert url attribute into its parsed subparts

2012-07-18 Thread Jeff King
On Wed, Jul 18, 2012 at 02:24:01PM +0200, Matthieu Moy wrote: Jeff King p...@peff.net writes: $ echo https://u...@example.com | git credential ident protocol=https host=example.com username=user since I had no use for it, but it would obviously be an easy one-liner to