summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorKyle J. McKay <mackyle@gmail.com>2015-03-08 05:13:55 (GMT)
committerJunio C Hamano <gitster@pobox.com>2015-03-10 22:19:05 (GMT)
commitdcd01ea187fc9a936b4083a85343989840afd7bd (patch)
tree99ae30b57b30f4f6966806557fdba53e38780837 /Documentation
parent230c09c06a7300870f3915c54eff7d9335850a4a (diff)
downloadgit-dcd01ea187fc9a936b4083a85343989840afd7bd.zip
git-dcd01ea187fc9a936b4083a85343989840afd7bd.tar.gz
git-dcd01ea187fc9a936b4083a85343989840afd7bd.tar.bz2
imap-send: use cURL automatically when NO_OPENSSL defined
If both USE_CURL_FOR_IMAP_SEND and NO_OPENSSL are defined do not force the user to add --curl to get a working git imap-send command. Instead automatically select --curl and warn and ignore the --no-curl option. And while we're in there, correct the warning message when --curl is requested but not supported. Signed-off-by: Kyle J. McKay <mackyle@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-imap-send.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/git-imap-send.txt b/Documentation/git-imap-send.txt
index 77aacf1..5d1e4c8 100644
--- a/Documentation/git-imap-send.txt
+++ b/Documentation/git-imap-send.txt
@@ -44,7 +44,8 @@ OPTIONS
--no-curl::
Talk to the IMAP server using git's own IMAP routines instead of
- using libcurl.
+ using libcurl. Ignored if Git was built with the NO_OPENSSL option
+ set.
CONFIGURATION