Hello list, I've just upload a branch of mine (ask-pass[1]) for testing a new way for git to ask for password both for when git directly ask for them, and when it is ssh that ask.
To use it under Linux you: - copy the bin/magit-askpass somewhere in your pass. - set the SSH_ASKPASS environment variable to it (in Emacs: (setenv "SSH_ASKPASS" "magit-askpass") or M-x setenv .... - don't forget to launch the Emacs server. and it should work. I need some help for it to go into the main repository: - I don't know if this work with Emacs 22, could someone test it? - It should work as is on macos X, could someone confirm? - for this to work for windows, somework is needed (probably a .bat script). I need a volunteer to do it. Three remark: - There is a bug: if you use C-g to interrupt Emacs asking the password, then git will be stuck. I failed to find how to solve this, I report an Emacs bugs[2] for it, but in the meantime, do someone find a way to fix it? - For now, when it is git that ask for a password, it did not give a more descriptive question than "Password: ". I just reported a bug for this[3]. In the meantime we can only live with it. - I intent to let the current mechanism for password handling because it work out of the box on Linux at least. this is a non obvious decision, and I would like to have your point of you on this [1]: http://github.com/vanicat/magit/tree/ask-pass [2]: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8942 [3]: http://permalink.gmane.org/gmane.comp.version-control.git/176522 -- Rémi Vanicat
