<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/http.c, branch v1.5.6.4</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://www.git.shady.money/git/atom?h=v1.5.6.4</id>
<link rel='self' href='https://www.git.shady.money/git/atom?h=v1.5.6.4'/>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/'/>
<updated>2008-07-06T00:42:46Z</updated>
<entry>
<title>http.c: Use 'git_config_string' to clean up SSL config.</title>
<updated>2008-07-06T00:42:46Z</updated>
<author>
<name>Brian Hetro</name>
<email>whee@smaertness.net</email>
</author>
<published>2008-07-05T05:24:44Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=7ef8ea7035a3be4a97259e53e8dd3c1b8fd81ac0'/>
<id>urn:sha1:7ef8ea7035a3be4a97259e53e8dd3c1b8fd81ac0</id>
<content type='text'>
Signed-off-by: Brian Hetro &lt;whee@smaertness.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<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>Don't allocate too much memory in quote_ref_url</title>
<updated>2008-06-14T19:53:09Z</updated>
<author>
<name>Mike Hommey</name>
<email>mh@glandium.org</email>
</author>
<published>2008-06-14T10:02:22Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=7c1a9e7901a0e75eab8c7fb34d17c09652d47f7f'/>
<id>urn:sha1:7c1a9e7901a0e75eab8c7fb34d17c09652d47f7f</id>
<content type='text'>
In c13b263, http_fetch_ref got "refs/" included in the ref passed to it,
which, incidentally, makes the allocation in quote_ref_url too big, now.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Provide git_config with a callback-data parameter</title>
<updated>2008-05-14T19:34:44Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>Johannes.Schindelin@gmx.de</email>
</author>
<published>2008-05-14T17:46:53Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=ef90d6d4208a5130185b04f06e5f90a5f9959fe3'/>
<id>urn:sha1:ef90d6d4208a5130185b04f06e5f90a5f9959fe3</id>
<content type='text'>
git_config() only had a function parameter, but no callback data
parameter.  This assumes that all callback functions only modify
global variables.

With this patch, every callback gets a void * parameter, and it is hoped
that this will help the libification effort.

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Make ls-remote http://... list HEAD, like for git://...</title>
<updated>2008-04-27T00:36:18Z</updated>
<author>
<name>Daniel Barkalow</name>
<email>barkalow@iabervon.org</email>
</author>
<published>2008-04-26T19:53:12Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=be885d96fe0ebed47e637f3b0dd24fc5902f7081'/>
<id>urn:sha1:be885d96fe0ebed47e637f3b0dd24fc5902f7081</id>
<content type='text'>
This makes a struct ref able to represent a symref, and makes http.c
able to recognize one, and makes transport.c look for "HEAD" as a ref
in the list, and makes it dereference symrefs for the resulting ref,
if any.

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>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>Merge branch 'maint'</title>
<updated>2008-03-04T08:34:39Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2008-03-04T08:34:39Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=27b4070e40a771c41ed581ef1ac98dd43e58ab87'/>
<id>urn:sha1:27b4070e40a771c41ed581ef1ac98dd43e58ab87</id>
<content type='text'>
* maint:
  Fix 'git remote show' regression on empty repository in 1.5.4
  Fix incorrect wording in git-merge.txt.
  git-merge.sh: better handling of combined --squash,--no-ff,--no-commit options
  Fix random crashes in http_cleanup()
</content>
</entry>
<entry>
<title>Fix random crashes in http_cleanup()</title>
<updated>2008-03-03T21:36:44Z</updated>
<author>
<name>Mike Hommey</name>
<email>mh@glandium.org</email>
</author>
<published>2008-03-03T19:30:16Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=f23d1f76273a59b030ea1028016e6a9fc9679d2c'/>
<id>urn:sha1:f23d1f76273a59b030ea1028016e6a9fc9679d2c</id>
<content type='text'>
For some reason, http_cleanup was running all active slots, which could
lead in situations where a freed slot would be accessed in
fill_active_slots. OTOH, we are cleaning up, which means the caller
doesn't care about pending requests. Just forget about them instead
or running them.

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>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>http.c: guard config parser from value=NULL</title>
<updated>2008-02-11T21:11:37Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2008-02-11T18:57:22Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=111dd25f3c34ccad101047c32e89d1bb87136f60'/>
<id>urn:sha1:111dd25f3c34ccad101047c32e89d1bb87136f60</id>
<content type='text'>
http.sslcert and friends expect a string value

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