git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Minimum libCurl version for git

From
Mike Ralphson <mike.ralphson@gmail.com>
Date
Mar 23, 2009, 11:24 UTC
Message-ID
<e2b179460903230424v1c98d73ci1f41918807fb2d5c@mail.gmail.com>
In-Reply-To
<7vy6uzg98v.fsf@gitster.siamese.dyndns.org>
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
Previous: Junio C HamanoNext: Junio C Hamano
Message 6 of 8 in “Minimum libCurl version for git”
  1. Mike RalphsonMar 20, 2009
  2. Junio C HamanoMar 20, 2009
  3. Mike HommeyMar 20, 2009
  4. Daniel StenbergMar 20, 2009
  5. Junio C HamanoMar 20, 2009
  6. Mike RalphsonMar 23, 2009
  7. Junio C HamanoMar 24, 2009
  8. Daniel StenbergMar 20, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.