On Sun, Oct 18, 2015 at 1:58 PM, Junio C Hamano <gitster@xxxxxxxxx> wrote: > I cannot speak for the person who was primarily responsible for > designing this behaviour, but I happen to agree with the current > behaviour in the situation where it was designed to be used. Upon > the first use in your session, the "daemon" is auto-spawned, you can > keep talking with that same instance during your session, and you do > not have to do anything special to shut it down when you log out. Oh, hmm this does makes sense. Now that I think of the log out case, I think ignoring the SIGHUP would be the wrong thing for us too. > Isn't that what happens here? I think our problem is that when Emacs creates the "git push" process with a pty[1], it somehow puts that process in its own new session, so when "git push" finishes it takes the daemon down with it. But seeing it like this, it seems clear that the problem is from the Emacs side. [1]: and using pipes instead of a pty doesn't allow entering the password: https://github.com/magit/magit/issues/2309#issuecomment-147101903 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html