From: Matthieu Moy <Matthieu.Moy@grenoble-inp.fr>
To: Jeff King <peff@peff.net>
Cc: "Райцин Антон" <anton@smarthead.ru>, git@vger.kernel.org
Subject: Re: Git credential helper store flushes randomly
Date: Fri, 12 May 2017 10:24:50 +0200 [thread overview]
Message-ID: <vpq1srucwj1.fsf@anie.imag.fr> (raw)
In-Reply-To: <20170512082058.ivvsmzc44cildp7l@sigill.intra.peff.net> (Jeff King's message of "Fri, 12 May 2017 04:20:58 -0400")
Jeff King <peff@peff.net> writes:
> 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/
next prev parent reply other threads:[~2017-05-12 8:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-12 8:05 Git credential helper store flushes randomly Райцин Антон
2017-05-12 8:20 ` Jeff King
2017-05-12 8:24 ` Matthieu Moy [this message]
2017-05-12 8:45 ` Jeff King
2017-05-12 10:05 ` Райцин Антон
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=vpq1srucwj1.fsf@anie.imag.fr \
--to=matthieu.moy@grenoble-inp.fr \
--cc=anton@smarthead.ru \
--cc=git@vger.kernel.org \
--cc=peff@peff.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox