From: Noam Postavsky <npostavs@users.sourceforge.net>
To: Jonathan Nieder <jrnieder@gmail.com>
Cc: Devin Lehmacher <djl329@cornell.edu>, git@vger.kernel.org
Subject: Re: [GSoC] Move ~/.git-credential-cache to ~/.cache/git
Date: Fri, 10 Mar 2017 20:02:18 -0500 [thread overview]
Message-ID: <CAM-tV-9DV=XOVSehEfd2LiWYdubhwV7fC8uRnKqmFT_aTQ1OKg@mail.gmail.com> (raw)
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:
> 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)
next prev parent reply other threads:[~2017-03-11 1:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-10 23:30 [GSoC] Move ~/.git-credential-cache to ~/.cache/git Devin Lehmacher
2017-03-11 0:26 ` Jonathan Nieder
2017-03-11 1:02 ` Noam Postavsky [this message]
2017-03-11 2:27 ` Devin Lehmacher
2017-03-11 3:17 ` Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAM-tV-9DV=XOVSehEfd2LiWYdubhwV7fC8uRnKqmFT_aTQ1OKg@mail.gmail.com' \
--to=npostavs@users.sourceforge.net \
--cc=djl329@cornell.edu \
--cc=git@vger.kernel.org \
--cc=jrnieder@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).