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

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

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:55:57

Michal Nazarewicz [off-list ref] writes:
quoted
Is it bad to use Net::Netrc instead?  This looks like exactly the
use case that module was written for, no?
I don't think that's the case.  For one, Net::Netrc does not seem to
process port number.

There is a Text::Authinfo module but it just uses Text::CSV.

I can change the code to use Net::Netrc, but I dunno if that's really
the best option, since I feel people would expect parsing to be
somehow compatible with
<http://www.gnu.org/software/emacs/manual/html_node/gnus/NNTP.html>
rather than the original .netrc file format.
Thanks for pushing back (I wish more contributors did so when I
suggest nonsense ;-)); you are right that both canned modules are
lacking.

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