imap_send: setup_curl: retreive credentials if not set in config file
commit19079b3e7cdb6f14646e838cb04919e8eb9976a9
authorNicolas Morey-Chaisemartin <nicolas@morey-chaisemartin.com>
Thu, 14 Sep 2017 07:52:06 +0000 (14 09:52 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 15 Sep 2017 04:45:37 +0000 (15 13:45 +0900)
tree467edd5a361a4de41e63761446b44115bf4a08e0
parent690307f3d1ae127e0ecb6198aeb44936c8dd9330
imap_send: setup_curl: retreive credentials if not set in config file

Up to this point, the curl mode only supported getting the username
and password from the gitconfig file while the legacy mode could also
fetch them using the credential API.

Signed-off-by: Nicolas Morey-Chaisemartin <nicolas@morey-chaisemartin.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
imap-send.c