<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/http.h, branch v1.6.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://www.git.shady.money/git/atom?h=v1.6.2</id>
<link rel='self' href='https://www.git.shady.money/git/atom?h=v1.6.2'/>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/'/>
<updated>2008-07-04T07:37:40Z</updated>
<entry>
<title>Work around gcc warnings from curl headers</title>
<updated>2008-07-04T07:37:40Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2008-07-04T07:37:40Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=f444e5286ee8986adb0899f85cc292fc2cd7cd04'/>
<id>urn:sha1:f444e5286ee8986adb0899f85cc292fc2cd7cd04</id>
<content type='text'>
After master.k.org upgrade, I started seeing these warning messages:

    transport.c: In function 'get_refs_via_curl':
    transport.c:458: error: call to '_curl_easy_setopt_err_write_callback' declared with attribute warning: curl_easy_setopt expects a curl_write_callback argument for this option

It appears that the curl header wants to enforce the function signature
for callback function given to curl_easy_setopt() to be compatible with
that of (*curl_write_callback) or fwrite.  This patch seems to work the
issue around.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Make walker.fetch_ref() take a struct ref.</title>
<updated>2008-04-27T00:36:17Z</updated>
<author>
<name>Daniel Barkalow</name>
<email>barkalow@iabervon.org</email>
</author>
<published>2008-04-26T19:53:09Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=c13b2633f49e3e61b37973204793a4d9ef981175'/>
<id>urn:sha1:c13b2633f49e3e61b37973204793a4d9ef981175</id>
<content type='text'>
This simplifies a few things, makes a few things slightly more
complicated, but, more importantly, allows that, when struct ref can
represent a symref, http_fetch_ref() can return one.

Incidentally makes the string that http_fetch_ref() gets include "refs/"
(if appropriate), because that's how the name field of struct ref works.
As far as I can tell, the usage in walker:interpret_target() wouldn't have
worked previously, if it ever would have been used, which it wouldn't
(since the fetch process uses the hash instead of the name of the ref
there).

Signed-off-by: Daniel Barkalow &lt;barkalow@iabervon.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Set proxy override with http_init()</title>
<updated>2008-02-27T23:37:57Z</updated>
<author>
<name>Mike Hommey</name>
<email>mh@glandium.org</email>
</author>
<published>2008-02-27T20:35:50Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=9fc6440d783ca773353880aa97c23ed9c640d3c0'/>
<id>urn:sha1:9fc6440d783ca773353880aa97c23ed9c640d3c0</id>
<content type='text'>
In transport.c, proxy setting (the one from the remote conf) was set through
curl_easy_setopt() call, while http.c already does the same with the
http.proxy setting. We now just use this infrastructure instead, and make
http_init() now take the struct remote as argument so that it can take the
http_proxy setting from there, and any other property that would be added
later.

At the same time, we make get_http_walker() take a struct remote argument
too, and pass it to http_init(), which makes remote defined proxy be used
for more than get_refs_via_curl().

We leave out http-fetch and http-push, which don't use remotes for the
moment, purposefully.

Signed-off-by: Mike Hommey &lt;mh@glandium.org&gt;
Acked-by: Daniel Barkalow &lt;barkalow@iabervon.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Clarify that http-push being temporarily disabled with older cURL</title>
<updated>2008-01-22T08:48:29Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2008-01-22T01:34:43Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=4f5f998fbd64c997ea875d69fd86b6362e04ce9b'/>
<id>urn:sha1:4f5f998fbd64c997ea875d69fd86b6362e04ce9b</id>
<content type='text'>
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Move fetch_ref from http-push.c and http-walker.c to http.c</title>
<updated>2007-12-15T05:31:59Z</updated>
<author>
<name>Mike Hommey</name>
<email>mh@glandium.org</email>
</author>
<published>2007-12-10T23:08:25Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=d7e92806cdc5ca78c4db879c68f91c70ff9e1ade'/>
<id>urn:sha1:d7e92806cdc5ca78c4db879c68f91c70ff9e1ade</id>
<content type='text'>
Make the necessary changes to be ok with their difference, and rename the
function http_fetch_ref.

Signed-off-by: Mike Hommey &lt;mh@glandium.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Use strbuf in http code</title>
<updated>2007-12-15T05:31:59Z</updated>
<author>
<name>Mike Hommey</name>
<email>mh@glandium.org</email>
</author>
<published>2007-12-09T19:30:59Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=028c2976389f70e7349bbfeeef0ed0a000d5e447'/>
<id>urn:sha1:028c2976389f70e7349bbfeeef0ed0a000d5e447</id>
<content type='text'>
Also, replace whitespaces with tabs in some places

Signed-off-by: Mike Hommey &lt;mh@glandium.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Avoid redundant declaration of missing_target()</title>
<updated>2007-12-15T05:31:59Z</updated>
<author>
<name>Mike Hommey</name>
<email>mh@glandium.org</email>
</author>
<published>2007-12-10T21:36:09Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=e8dc37e0e30dbbed532b7471516d1ba5e6e08f27'/>
<id>urn:sha1:e8dc37e0e30dbbed532b7471516d1ba5e6e08f27</id>
<content type='text'>
Signed-off-by: Mike Hommey &lt;mh@glandium.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Cleanup variables in http.[ch]</title>
<updated>2007-12-09T20:18:42Z</updated>
<author>
<name>Mike Hommey</name>
<email>mh@glandium.org</email>
</author>
<published>2007-12-09T17:04:57Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=cc3530e8f3f512dd407f64caf2c9916cb26afbc2'/>
<id>urn:sha1:cc3530e8f3f512dd407f64caf2c9916cb26afbc2</id>
<content type='text'>
Quite some variables defined as extern in http.h are only used in http.c,
and some others, only defined in http.c, were not static.

Signed-off-by: Mike Hommey &lt;mh@glandium.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Make function to refill http queue a callback</title>
<updated>2007-09-19T10:22:30Z</updated>
<author>
<name>Daniel Barkalow</name>
<email>barkalow@iabervon.org</email>
</author>
<published>2007-09-11T03:02:34Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=fc57b6aaa5bc59ecbe0c052b98196a93b35760a5'/>
<id>urn:sha1:fc57b6aaa5bc59ecbe0c052b98196a93b35760a5</id>
<content type='text'>
This eliminates the last function provided by the code using http.h as
a global symbol, so it should be possible to have multiple programs
using http.h in the same executable, and it also adds an argument to
that callback, so that info can be passed into the callback without
being global.

Signed-off-by: Daniel Barkalow &lt;barkalow@iabervon.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Refactor http.h USE_CURL_MULTI fill_active_slots().</title>
<updated>2007-09-19T10:22:29Z</updated>
<author>
<name>Daniel Barkalow</name>
<email>barkalow@iabervon.org</email>
</author>
<published>2007-09-11T03:02:28Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=45c1741235a1fbd54484fa1c67ea68569dcfa23e'/>
<id>urn:sha1:45c1741235a1fbd54484fa1c67ea68569dcfa23e</id>
<content type='text'>
This removes all of the boilerplate and http-internal stuff from
fill_active_slots() and makes it easy to turn into a callback.

Signed-off-by: Daniel Barkalow &lt;barkalow@iabervon.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
