Re: [PATCH] http authentication via prompts
- From
Jeff King <peff@peff.net>
- Date
- Mar 5, 2009, 16:37 UTC
- Message-ID
- <20090305163740.GC4213@coredump.intra.peff.net>
- In-Reply-To
- <49AFEC91.10009@gmail.com>
On Thu, Mar 05, 2009 at 09:15:29AM -0600, Mike Gaffney wrote:
> My thought was that if you had a password you didn't care about you > could put it in the config. It does ask you for a password with > getpass, It compiles under cygwin, I havent tried it under windows.
I think part of the confusion is that your patch does two things, which means it is probably more sensible as two separate patches:
1. support http.username and http.password in the git config instead
of the .netrc 2. support getpass() if http.password (or .netrc password) is not
available-Peff