[PATCH] Uses git-credential for git-imap-send

2014-04-28 Thread Dan Albert
passwords. Signed-off-by: Dan Albert --- > I noticed that we are just filling in the password here, since we'll > always fill cred.username from srvc->user. The lines directly above are: > > if (!srvc->user) { > fprintf(stderr, "Skipping se

[PATCH] Uses git-credential for git-imap-send

2014-04-27 Thread Dan Albert
passwords. Signed-off-by: Dan Albert --- >> About imap vs. imaps: I actually had your exact line in before, but decided >> that as long as its for the same host the user probably wants to use the >> same credentials for both imap and imaps (if they for some reason had both >>

[PATCH] Uses git-credential for git-imap-send

2014-04-26 Thread Dan Albert
git-imap-send was directly prompting for a password rather than using git-credential. git-send-email, on the other hand, supports git-credential. This is a necessary improvement for users that use two factor authentication, as they should not be expected to remember all of their app specific passw