]> git.ipfire.org Git - thirdparty/git.git/commit - imap-send.c
imap-send: use curl by default when possible
authorNicolas Morey-Chaisemartin <nicolas@morey-chaisemartin.com>
Thu, 14 Sep 2017 07:52:11 +0000 (09:52 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 15 Sep 2017 04:46:19 +0000 (13:46 +0900)
commitdbba42bb32f2e896a5413d401c61a0022652fe2b
tree4d5d721d308b237a220b7d34a5bcadfb9d7d9a0e
parent19079b3e7cdb6f14646e838cb04919e8eb9976a9
imap-send: use curl by default when possible

Set curl as the runtime default when it is available.
When linked against older curl versions (< 7_34_0) or without curl,
use the legacy imap implementation.

The goal is to validate feature parity between the legacy and
the curl implementation, deprecate the legacy implementation
later on and in the long term, hopefully drop it altogether.

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