Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH] git-send-email: add ~/.authinfo parsing

From: Ted Zlatanov <hidden>
Date: 2016-06-15 22:56:03

On Mon, 4 Feb 2013 16:22:03 -0500 Jeff King [off-list ref] wrote: 
quoted
Currently, we map both the "port" and "protocol" netrc tokens to the
credential helper protocol's "protocol".  So this will have undefined
results.  To do what you specify could be pretty simple: we could do a
preliminary scan of the tokens, looking for "host X port Y" where Y is
an integer, and rewriting the host to be "X:Y".  That would be clean and
simple, unless the user breaks it with "host x:23 port 22".  Let me know
if you agree and I'll do.
JK> Yeah, I think that is simple and obvious. If the user is saying "host
JK> x:23 port 22", that is nonsensical.

OK; added.

Ted
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help