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

Re: [PATCH] credential: add nocache option to the credentials API

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 26, 2019, 16:27 UTC
Message-ID
<xmqqsgpnj3hv.fsf@gitster-ct.c.googlers.com>
In-Reply-To
<20190722210037.GA31664@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 8 quoted lines
> I was thinking that Git itself could treat "ttl=0" specially, the same
> as your nocache, and avoid passing it along to any helpers during the
> approve stage. That would make it exactly equivalent to your patch
> (modulo the name change).
> ...
> And as you noted above, if we don't suppress the helper calls inside
> Git, then every matching storage helper needs to learn about "nocache"
> (or "ttl") before it will do any good.

I was waiting for this discussion to settle and then the discussion seems to have petered out. Any interest to following the "ttl with special casing value 0 as 'nocache'" idea thru from either two of you, or should I take the patch as is in the meantime?

Thanks.
Previous: Jeff KingNext: Masaya Suzuki
Message 5 of 6 in “credential: add nocache option to the credentials API”
  1. credential: add nocache option to the credentials APIMasaya Suzuki, Jul 7, 2019
  2. Jeff KingJul 9, 2019
  3. Masaya SuzukiJul 22, 2019
  4. Jeff KingJul 22, 2019
  5. Junio C HamanoAug 26, 2019
  6. Masaya SuzukiSep 15, 2019

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.