summaryrefslogtreecommitdiff
path: root/diffcore-pickaxe.c
diff options
context:
space:
mode:
authorLibravatar Duncan Brown <dabrown@physics.syr.edu>2011-06-02 16:31:25 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-06-03 09:29:19 -0700
commitbcfb95dde46bd7cf2c6673ab8a3e6f0c0429906e (patch)
tree02711596321041e65170468fe58a0abdcd7fcf9d /diffcore-pickaxe.c
parentSync with 1.7.5.4 (diff)
downloadtgif-bcfb95dde46bd7cf2c6673ab8a3e6f0c0429906e.tar.xz
http: pass http.cookiefile using CURLOPT_COOKIEFILE
If the config option http.cookiefile is set, pass this file to libCURL using the CURLOPT_COOKIEFILE option. This is similar to calling curl with the -b option. This allows git http authorization with authentication mechanisms that use cookies, such as SAML Enhanced Client or Proxy (ECP) used by Shibboleth. To use SAML/ECP, the user needs to request a session cookie with their own ECP code. See for example: <https://wiki.shibboleth.net/confluence/display/SHIB2/ECP> Once the cookie file has been created, it can be passed to git with, e.g. git config --global http.cookiefile "/home/dbrown/.curlcookies" libCURL will then pass the appropriate session cookies to the git http server. Signed-off-by: Duncan Brown <duncan.brown@ligo.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diffcore-pickaxe.c')
0 files changed, 0 insertions, 0 deletions