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

Re: [GSoC] Move ~/.git-credential-cache to ~/.cache/git

From
Noam Postavsky <npostavs@users.sourceforge.net>
Date
Mar 11, 2017, 01:02 UTC
Message-ID
<CAM-tV-9DV=XOVSehEfd2LiWYdubhwV7fC8uRnKqmFT_aTQ1OKg@mail.gmail.com>
In-Reply-To
<20170311002615.GG26789@aiede.mtv.corp.google.com>
On Fri, Mar 10, 2017 at 7:26 PM, Jonathan Nieder <jrnieder@gmail.com> wrote:
Show 7 quoted lines
> I find that magit does rely on the socket path.
>
>     Start credential daemon on magit-credential-hook
>
>     If we let git start the daemon, Emacs will send a SIGHUP when git
>     finishes and closes the pty, killing the daemon.  Hence the need to have
>     our own daemon running first.

Magit doesn't really care about the particular path, but it does call git-credential-cache--daemon directly which needs to be told where to create the socket. I guess Magit could just default to using ~/.cache/git/socket if ~/.cache/git exists? (Magit users can override the path regardless)

Previous: Jonathan NiederNext: Devin Lehmacher
Message 3 of 5 in “[GSoC] Move ~/.git-credential-cache to ~/.cache/git”
  1. Devin LehmacherMar 10, 2017
  2. Jonathan NiederMar 11, 2017
  3. Noam PostavskyMar 11, 2017
  4. Devin LehmacherMar 11, 2017
  5. Junio C HamanoMar 11, 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.