Re: [PATCH] imap-send: use libcurl for implementation

2014-11-07 Thread Bernhard Reiter
Zitat von Junio C Hamano gits...@pobox.com: Bernhard Reiter ock...@raz.or.at writes: @@ -25,7 +25,6 @@ Typical usage is something like: git format-patch --signoff --stdout --attach origin | git imap-send - OPTIONS Why? By mistake when rebasing. Sorry, fixed. (Same for previous

[PATCH] imap-send: use libcurl for implementation

2014-11-06 Thread Bernhard Reiter
Use libcurl's high-level API functions to implement git-imap-send instead of the previous low-level OpenSSL-based functions. Since version 7.30.0, libcurl's API has been able to communicate with IMAP servers. Using those high-level functions instead of the current ones would reduce imap-send.c by

Re: [PATCH] imap-send: use libcurl for implementation

2014-11-06 Thread Junio C Hamano
Bernhard Reiter ock...@raz.or.at writes: @@ -25,7 +25,6 @@ Typical usage is something like: git format-patch --signoff --stdout --attach origin | git imap-send - OPTIONS Why? @@ -37,6 +36,17 @@ OPTIONS --quiet:: Be quiet. +--curl:: + Use libcurl to communicate