aboutsummaryrefslogtreecommitdiffstats
path: root/git-curl-compat.h
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2023-01-16 22:04:38 -0500
committerJunio C Hamano <gitster@pobox.com>2023-01-17 08:03:07 -0800
commit6956015704426f7b636b94cf79a2366ddc4977eb (patch)
treee27540067b9769d6e668bca81e3005a460b8ee19 /git-curl-compat.h
parentGit 2.39 (diff)
downloadgit-6956015704426f7b636b94cf79a2366ddc4977eb.tar.gz
git-6956015704426f7b636b94cf79a2366ddc4977eb.zip
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>
Diffstat (limited to 'git-curl-compat.h')
0 files changed, 0 insertions, 0 deletions