On Mon, Feb 04, 2013 at 12:00:34PM -0500, Ted Zlatanov wrote: > On Mon, 04 Feb 2013 17:33:58 +0100 Michal Nazarewicz <mina86@xxxxxxxxxx> wrote: > > MN> As far as I understand, there could be a git-credential helper that > MN> reads ~/.authinfo and than git-send-email would just call “git > MN> credential fill”, right? > > MN> I've noticed though, that git-credential does not support port argument, > MN> which makes it slightly incompatible with ~/.authinfo. > > My proposed netrc credential helper does this :) > > The token mapping I use: > > port, protocol => protocol > machine, host => host > path => path > login, username, user => username > password => password > > I think that's sensible. Technically you can speak a particular protocol on an alternate port: https://example.com:31337/repo.git In this case, git will send you the host as: example.com:31337 You might want to map this to "port" in .autoinfo separately if it's available. -Peff -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html