imap-send: use git-credential
commit791643a865ac15a381e629a35f252293911b0fb0
authorDan Albert <danalbert@google.com>
Tue, 29 Apr 2014 03:00:04 +0000 (28 20:00 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 29 Apr 2014 17:16:46 +0000 (29 10:16 -0700)
treebb868e7e4efabef78669dde0a4bc8ff57586c4bb
parent35936f8fc38a214cc7d2595070641d39a541dfb1
imap-send: use git-credential

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 passwords.

Signed-off-by: Dan Albert <danalbert@google.com>
Acked-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
imap-send.c