Re: Minimum libCurl version for git
2009/3/20 Junio C Hamano <gitster@pobox.com>:
Show 13 quoted lines
> We can have these two macro definitions on our side
>
> #if curl older than 7.10.8
> #define CURLINFO_RESPONSE_CODE CURLINFO_HTTP_CODE
> #endif
>
> #if curl older than 7.9.7
> #define CURLOPT_READDATA CURLOPT_INFILE
> #endif
>
> for backward compatibility, while writing our code to the recent API by
> using CURLINFO_RESPONSE_CODE and CURLOPT_READDATA, and people with older
> curl would not have to suffer a bit.
See? That's why they pay you the big maintainer-bucks... 8-)
> Mike, I'd say we declare 7.9.3 as the floor and go from there. That's
> your #3, I think.
Short patch series to follow, though maybe not today.
Mike