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

Credential helpers processing order

From
DNDmitry Neverov <dmitry.neverov@gmail.com>
Date
Aug 16, 2016, 15:13 UTC
Message-ID
<CAC+L6n0j0=6haBprM2ip75=orEi_5oBedHV1iPBTgi-N8Y6=4A@mail.gmail.com>
Hi,

I wonder why credential helpers are called in the order: system, global, local, command-line and not in the reverse order? This make it impossible to provide a custom helper and disable default ones via command-line parameter. My use-case is to clone a repository in a non-interactive environment where a system-level GUI helper is configured: clone hangs since system-level helper called first and there is no input from the user. Also if a system-level helper sets quit=true, then lower-level helpers won't be called at all. Is it by design?

-- Dmitry

Next: Jacob Keller
Message 1 of 3 in “Credential helpers processing order”
  1. Dmitry NeverovAug 16, 2016
  2. Jacob KellerAug 16, 2016
  3. Jeff KingAug 16, 2016

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.