diff options
author | Jeff King <peff@peff.net> | 2023-01-16 22:04:38 -0500 |
---|---|---|
committer | Johannes Schindelin <johannes.schindelin@gmx.de> | 2023-03-12 20:31:54 +0100 |
commit | fda237cb648b3812f694bdbe899449247610415b (patch) | |
tree | 173d19cfad47f140368afb0fbd4bd4e96f1f3544 /commit.h | |
parent | 394a759d2b5f0a1a1908c820cf142f45cb78718c (diff) |
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 <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Diffstat (limited to 'commit.h')
0 files changed, 0 insertions, 0 deletions