On Fri, Mar 10, 2017 at 7:26 PM, Jonathan Nieder <jrnieder@xxxxxxxxx> wrote: > 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)