git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Mike GaffneyNext: Fredrik Skolmli
Message 5 of 6 in “http authentication via prompts”
  1. http authentication via promptsMike Gaffney, Mar 5, 2009
  2. Junio C HamanoMar 5, 2009
  3. Johannes SchindelinMar 5, 2009
  4. Mike GaffneyMar 5, 2009
  5. Jeff KingMar 5, 2009
  6. Fredrik SkolmliMar 6, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.