]> git.99rst.org Git - git.git/commit
http-push: prefer CURLOPT_UPLOAD to CURLOPT_PUT
authorJeff King <redacted>
Tue, 17 Jan 2023 03:04:38 +0000 (22:04 -0500)
committerJohannes Schindelin <redacted>
Sun, 12 Mar 2023 19:31:54 +0000 (20:31 +0100)
commitfda237cb648b3812f694bdbe899449247610415b
tree173d19cfad47f140368afb0fbd4bd4e96f1f3544
parent394a759d2b5f0a1a1908c820cf142f45cb78718c
http-push: prefer CURLOPT_UPLOAD to CURLOPT_PUT

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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
Signed-off-by: Johannes Schindelin <redacted>
http-push.c
git clone https://git.99rst.org/PROJECT