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

Re: Git credential helper store flushes randomly

From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
Date
May 12, 2017, 08:24 UTC
Message-ID
<vpq1srucwj1.fsf@anie.imag.fr>
In-Reply-To
<20170512082058.ivvsmzc44cildp7l@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 5 quoted lines
> The only time it should remove an entry is when Git asks it to. And the
> only time that happens is when Git sees the credential rejected by the
> server (e.g., an HTTP 401 even after we fed the stored credential). I
> don't know why that would happen unless there's some non-determinism on
> the server.

I did see a case like this where the server was broken temporarily and rejected one login attempt. In this case the credential store deletes the entry for that user, and when the server is repaired, the store still has the entry deleted.

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Previous: Jeff KingNext: Jeff King
Message 3 of 5 in “Git credential helper store flushes randomly”
  1. Райцин АнтонMay 12, 2017
  2. Jeff KingMay 12, 2017
  3. Matthieu MoyMay 12, 2017
  4. Jeff KingMay 12, 2017
  5. Райцин АнтонMay 12, 2017

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.