summaryrefslogtreecommitdiff
path: root/remote.h
diff options
context:
space:
mode:
authorSam Vilain <sam.vilain@catalyst.net.nz>2007-12-03 21:48:54 (GMT)
committerJunio C Hamano <gitster@pobox.com>2007-12-04 07:43:07 (GMT)
commit14c98218845ad2acbd42b8d913503ff6fb3fd2ac (patch)
tree80727a8ed62317aa7602f5cbcc117e7d3a3de211 /remote.h
parent9c5665aa3c938b0e085ca34a8126110edcffa217 (diff)
downloadgit-14c98218845ad2acbd42b8d913503ff6fb3fd2ac.zip
git-14c98218845ad2acbd42b8d913503ff6fb3fd2ac.tar.gz
git-14c98218845ad2acbd42b8d913503ff6fb3fd2ac.tar.bz2
Add remote.<name>.proxy
As well as allowing a default http.proxy option, allow it to be set per-remote. Signed-off-by: Sam Vilain <sam.vilain@catalyst.net.nz> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'remote.h')
-rw-r--r--remote.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/remote.h b/remote.h
index b10036c..86e036d 100644
--- a/remote.h
+++ b/remote.h
@@ -25,6 +25,11 @@ struct remote {
const char *receivepack;
const char *uploadpack;
+
+ /*
+ * for curl remotes only
+ */
+ char *http_proxy;
};
struct remote *remote_get(const char *name);