]> git.ipfire.org Git - thirdparty/git.git/commit - http-push.c
http-push.c: make CURLOPT_IOCTLDATA a usable pointer
authorAbbaad Haider <abbaad@gmail.com>
Sun, 6 Jul 2014 00:43:48 +0000 (20:43 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 14 Jul 2014 00:57:59 +0000 (17:57 -0700)
commit479eaa8ef8384d8026dc05c1288e96ffd9e296d6
tree7e83addaf8d5ffb956cfaeb23a8ae43d9daf7d4e
parent45067fc973c31953ab283f77f0f91eba9a272624
http-push.c: make CURLOPT_IOCTLDATA a usable pointer

Fixes a small bug affecting push to remotes which use some sort of
multi-pass authentication. In particular the bug affected SabreDAV as
configured by Box.com [1].

It must be a weird server configuration for the bug to have survived
this long. Someone should write a test for it.

[1] http://marc.info/?l=git&m=140460482604482

Signed-off-by: Abbaad Haider <abbaad@gmail.com>
Reviewed-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
http-push.c