<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/http-fetch.c, branch v1.3.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v1.3.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v1.3.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2006-04-11T18:45:37Z</updated>
<entry>
<title>Replace index() with strchr().</title>
<updated>2006-04-11T18:45:37Z</updated>
<author>
<name>Dennis Stosberg</name>
<email>dennis@stosberg.net</email>
</author>
<published>2006-04-11T16:37:58Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ef9e58c826a4fcaa13457cd8177518163f82972a'/>
<id>urn:sha1:ef9e58c826a4fcaa13457cd8177518163f82972a</id>
<content type='text'>
strchr() is more portable than index() and is used everywhere in
git already.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>http-fetch: add optional DAV-based pack list</title>
<updated>2006-04-05T01:06:35Z</updated>
<author>
<name>Nick Hengeveld</name>
<email>nickh@reactrix.com</email>
</author>
<published>2006-04-04T12:33:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8d9fbe57b3acf756a9325884d11f004ef6f7e884'/>
<id>urn:sha1:8d9fbe57b3acf756a9325884d11f004ef6f7e884</id>
<content type='text'>
If git is not built with NO_EXPAT, this patch changes git-http-fetch to
attempt using DAV to get a list of remote packs and fall back to using
objects/info/packs if the DAV request fails.

Signed-off-by: Nick Hengeveld &lt;nickh@reactrix.com&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>http-fetch: nicer warning for a server with unreliable 404 status</title>
<updated>2006-03-20T22:07:59Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-03-20T22:07:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=bb52807916598301e670963e6cc5f1f5cdca3ad7'/>
<id>urn:sha1:bb52807916598301e670963e6cc5f1f5cdca3ad7</id>
<content type='text'>
When a repository otherwise properly prepared is served by a
dumb HTTP server that sends "No such page" output with 200
status for human consumption to a request for a page that does
not exist, the users will get an alarming "File X corrupt" error
message.  Hint that they might be dealing with such a server at
the end and suggest running fsck-objects to check if the result
is OK (the pack-fallback code does the right thing in this case
so unless a loose object file was actually corrupt the result
should check OK).

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Fix broken slot reuse when fetching alternates</title>
<updated>2006-03-15T17:10:41Z</updated>
<author>
<name>Nick Hengeveld</name>
<email>nickh@reactrix.com</email>
</author>
<published>2006-03-15T16:59:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=c982647310fc5acd0bd6ebc408e70470447b387f'/>
<id>urn:sha1:c982647310fc5acd0bd6ebc408e70470447b387f</id>
<content type='text'>
When fetching alternates, http-fetch may reuse the slot to fetch non-http
alternates if http-alternates does not exist.  When doing so, it now needs
to update the slot's finished status so run_active_slot waits for the
non-http alternates request to finish.

Signed-off-by: Nick Hengeveld &lt;nickh@reactrix.com&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Give no terminating LF to error() function.</title>
<updated>2006-02-23T03:10:26Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-02-23T01:47:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=bd2afde8a38b97391b22afebf15c583fb0fffacb'/>
<id>urn:sha1:bd2afde8a38b97391b22afebf15c583fb0fffacb</id>
<content type='text'>
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>http-fetch: Abort requests for objects which arrived in packs</title>
<updated>2006-02-07T10:13:02Z</updated>
<author>
<name>Mark Wooding</name>
<email>mdw@distorted.org.uk</email>
</author>
<published>2006-02-07T10:07:39Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=53f313897e37f25e1411a6a7cfa328d642847345'/>
<id>urn:sha1:53f313897e37f25e1411a6a7cfa328d642847345</id>
<content type='text'>
In fetch_object, there's a call to release an object request if the
object mysteriously arrived, say in a pack.  Unfortunately, the fetch
attempt for this object might already be in progress, and we'll leak the
descriptor.  Instead, try to tidy away the request.

Signed-off-by: Mark Wooding &lt;mdw@distorted.org.uk&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>http-fetch: Tidy control flow in process_alternate_response</title>
<updated>2006-02-06T00:49:17Z</updated>
<author>
<name>Mark Wooding</name>
<email>mdw@distorted.org.uk</email>
</author>
<published>2006-02-01T11:44:39Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a3f583cbf7929f290a47dc0a952ee6b0faa9d279'/>
<id>urn:sha1:a3f583cbf7929f290a47dc0a952ee6b0faa9d279</id>
<content type='text'>
It's a bit convoluted.  Tidy it up.

Signed-off-by: Mark Wooding &lt;mdw@distorted.org.uk&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>http-fetch: Fix message reporting rename of object file.</title>
<updated>2006-02-06T00:49:16Z</updated>
<author>
<name>Mark Wooding</name>
<email>mdw@distorted.org.uk</email>
</author>
<published>2006-02-01T11:44:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=7b934ec015363dd8881d249838ab3623a2d345fd'/>
<id>urn:sha1:7b934ec015363dd8881d249838ab3623a2d345fd</id>
<content type='text'>
move_temp_to_file returns 0 or -1.  This is not a good thing to pass to
strerror(3).  Fortunately, someone already reported the error, so don't
worry too much.

Signed-off-by: Mark Wooding &lt;mdw@distorted.org.uk&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>http-fetch: Fix object list corruption in fill_active_slots().</title>
<updated>2006-02-06T00:49:16Z</updated>
<author>
<name>Mark Wooding</name>
<email>mdw@distorted.org.uk</email>
</author>
<published>2006-02-01T11:44:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=09db444fdbf647c95de698d243425a7700b91b2f'/>
<id>urn:sha1:09db444fdbf647c95de698d243425a7700b91b2f</id>
<content type='text'>
In fill_active_slots() -- if we find an object which has already arrived,
say as part of a pack, /don't/ remove it from the list.  It's already been
prefetched and someone will ask for it later.  Just label it as done and
carry blithely on.  (As it was, the code would dereference a freed object
to continue through the list anyway.)

Signed-off-by: Mark Wooding &lt;mdw@distorted.org.uk&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>whitespace cleanup.</title>
<updated>2006-02-03T01:54:24Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-02-01T02:15:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8fcf7f9af5ba629f56f491791ae46ad2e939f3b5'/>
<id>urn:sha1:8fcf7f9af5ba629f56f491791ae46ad2e939f3b5</id>
<content type='text'>
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
</feed>
