Re: [PATCH 1/3] http-push: prefer CURLOPT_UPLOAD to CURLOPT_PUT
- From
Jeff King <peff@peff.net>
- Date
- Jan 17, 2023, 03:04 UTC
- Message-ID
- <Y8YQOADmbWbdKDvX@coredump.intra.peff.net>
- In-Reply-To
- <Y8YQBbjjf+i8BWL6@coredump.intra.peff.net>
On Mon, Jan 16, 2023 at 10:03:33PM -0500, Jeff King wrote:
Show 6 quoted lines
> The two options do exactly the same thing, but the latter has been > deprecated and in recent versions of curl may produce a compiler > warning. Since the UPLOAD form is available everywhere (it was > introduced in the year 2000 by curl 7.1), we can just switch to it. > > Signed-off-by: Jeff King <peff@peff.net>
Whoops, this was supposed to be part of v2, but I accidentally sent it in reply to the wrong part of the thread. Please ignore, and I'll resend in the right spot.
-Peff