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

Re: [PATCH v2 2/4] git-credential-store: support XDG_CONFIG_HOME

From
Paul Tan <pyokagan@gmail.com>
Date
Mar 10, 2015, 13:43 UTC
Message-ID
<CACRoPnRoY=c5NukCCS0OPMaL1TvqSuSL036-mK+4sae_6VgrVA@mail.gmail.com>
In-Reply-To
<1425801532-8483-3-git-send-email-pyokagan@gmail.com>
On Sun, Mar 8, 2015 at 3:58 PM, Paul Tan <pyokagan@gmail.com> wrote:
Show 6 quoted lines
>                 remove_credential(&fns, &c);
>         else if (!strcmp(op, "store"))
> -               store_credential(&fns, &c, fns.nr - 1);
> +               store_credential(&fns, &c, 0);
>         else
>                 ; /* Ignore unknown operation. */

Whoops, seems like I squashed some commits in the wrong order (but there is no functional difference). Will re-roll the patch series.

Also, store_credential() should take a string as the default filename instead of an index into the filename string_list for extra API flexibility.

Thanks.
Previous: Paul TanNext: Paul Tan
Message 4 of 8 in “git-credential-store: XDG user-specific config file support”
  1. 0/4 git-credential-store: XDG user-specific config file supportPaul Tan, Mar 8, 2015
  2. 1/4 git-credential-store: support multiple credential filesPaul Tan, Mar 8, 2015
  3. 2/4 git-credential-store: support XDG_CONFIG_HOMEPaul Tan, Mar 8, 2015
  4. Paul TanMar 10, 2015
  5. 3/4 docs/git-credential-store: document XDG file and precedencePaul Tan, Mar 8, 2015
  6. 4/4 t0302: test credential-store support for XDG_CONFIG_HOMEPaul Tan, Mar 8, 2015
  7. Matthieu MoyMar 9, 2015
  8. Paul TanMar 10, 2015

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.