From: Matthieu Moy Date: Wed, 18 Jul 2012 12:24:01 GMT Subject: Re: [PATCH 3/4] credential: convert "url" attribute into its parsed subparts Message-ID: In-Reply-To: <20120718120626.GC6726@sigill.intra.peff.net> Jeff King writes: > $ echo https://user@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 same, except I would have spelled it "git credential parse" (but ident is fine too). On the perl side, that would allow getting a credential hash very simply (but it was already simple in perl, and made useless by your code). -- Matthieu Moy http://www-verimag.imag.fr/~moy/