<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/http-push.c, branch v1.8.2.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v1.8.2.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v1.8.2.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2013-02-11T22:33:04Z</updated>
<entry>
<title>Allow building with xmlparse.h</title>
<updated>2013-02-11T22:33:04Z</updated>
<author>
<name>Matt Kraai</name>
<email>matt.kraai@amo.abbott.com</email>
</author>
<published>2013-02-11T22:03:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=081fd8d093887b0cc5055d8a191ae2c26274846b'/>
<id>urn:sha1:081fd8d093887b0cc5055d8a191ae2c26274846b</id>
<content type='text'>
expat 1.1 and 1.2 provide xmlparse.h instead of expat.h.  Include the
former on systems that define the EXPAT_NEEDS_XMLPARSE_H variable and
define that variable on QNX systems, which ship with expat 1.1.

Signed-off-by: Matt Kraai &lt;matt.kraai@amo.abbott.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'sp/smart-http-content-type-check'</title>
<updated>2013-02-11T04:35:23Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2013-02-11T04:35:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=271cd23527c851ec5dd31a8603a8b25f936eb9e1'/>
<id>urn:sha1:271cd23527c851ec5dd31a8603a8b25f936eb9e1</id>
<content type='text'>
The smart HTTP clients forgot to verify the content-type that comes
back from the server side to make sure that the request is being
handled properly.

* sp/smart-http-content-type-check:
  http_request: reset "type" strbuf before adding
  t5551: fix expected error output
  Verify Content-Type from smart HTTP servers
</content>
</entry>
<entry>
<title>Verify Content-Type from smart HTTP servers</title>
<updated>2013-02-04T18:22:36Z</updated>
<author>
<name>Shawn Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2013-01-31T21:02:07Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=4656bf47fca857df51b5d6f4b7b052192b3b2317'/>
<id>urn:sha1:4656bf47fca857df51b5d6f4b7b052192b3b2317</id>
<content type='text'>
Before parsing a suspected smart-HTTP response verify the returned
Content-Type matches the standard. This protects a client from
attempting to process a payload that smells like a smart-HTTP
server response.

JGit has been doing this check on all responses since the dawn of
time. I mistakenly failed to include it in git-core when smart HTTP
was introduced. At the time I didn't know how to get the Content-Type
from libcurl. I punted, meant to circle back and fix this, and just
plain forgot about it.

Signed-off-by: Shawn Pearce &lt;spearce@spearce.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>xml_entities(): use function strbuf_addstr_xml_quoted()</title>
<updated>2012-11-26T21:30:52Z</updated>
<author>
<name>Michael Haggerty</name>
<email>mhagger@alum.mit.edu</email>
</author>
<published>2012-11-25T11:08:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=37141f27d8e0689fe465d8498656ee6543de3ea5'/>
<id>urn:sha1:37141f27d8e0689fe465d8498656ee6543de3ea5</id>
<content type='text'>
Signed-off-by: Michael Haggerty &lt;mhagger@alum.mit.edu&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'jc/merge-bases'</title>
<updated>2012-09-11T18:36:05Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2012-09-11T18:35:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=34f5130af84f7a37fba327d5a5be4f4427dc6886'/>
<id>urn:sha1:34f5130af84f7a37fba327d5a5be4f4427dc6886</id>
<content type='text'>
Optimise the "merge-base" computation a bit, and also update its
users that do not need the full merge-base information to call a
cheaper subset.

* jc/merge-bases:
  reduce_heads(): reimplement on top of remove_redundant()
  merge-base: "--is-ancestor A B"
  get_merge_bases_many(): walk from many tips in parallel
  in_merge_bases(): use paint_down_to_common()
  merge_bases_many(): split out the logic to paint history
  in_merge_bases(): omit unnecessary redundant common ancestor reduction
  http-push: use in_merge_bases() for fast-forward check
  receive-pack: use in_merge_bases() for fast-forward check
  in_merge_bases(): support only one "other" commit
</content>
</entry>
<entry>
<title>http-push: use in_merge_bases() for fast-forward check</title>
<updated>2012-08-28T01:36:39Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2012-08-27T22:21:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=6571225137b1ba270b49a0dfc6a30aab6f4b86ba'/>
<id>urn:sha1:6571225137b1ba270b49a0dfc6a30aab6f4b86ba</id>
<content type='text'>
The original computed merge-base between HEAD and the remote ref and
checked if the remote ref is a merge base between them, in order to
make sure that we are fast-forwarding.

Instead, call in_merge_bases(remote, HEAD) which does the same.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>http-push: do not access git_default_email directly</title>
<updated>2012-05-22T16:07:52Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2012-05-21T23:09:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5cb2194aba3c6828cec3e4ec75d78f49165e2eab'/>
<id>urn:sha1:5cb2194aba3c6828cec3e4ec75d78f49165e2eab</id>
<content type='text'>
By calling the ident_default_email accessor, we can be sure
that the default value is actually filled-in.

Signed-off-by: Jeff King &lt;peff@peff.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>remove superfluous newlines in error messages</title>
<updated>2012-04-30T22:45:51Z</updated>
<author>
<name>Pete Wyckoff</name>
<email>pw@padd.com</email>
</author>
<published>2012-04-30T00:28:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=82247e9bd5f7c90c4eac9674fb7518845cd3e432'/>
<id>urn:sha1:82247e9bd5f7c90c4eac9674fb7518845cd3e432</id>
<content type='text'>
The error handling routines add a newline.  Remove
the duplicate ones in error messages.

Signed-off-by: Pete Wyckoff &lt;pw@padd.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'ab/enable-i18n'</title>
<updated>2011-12-20T00:06:41Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2011-12-20T00:06:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=2dccad3c6f9df2b1eea7eb5617e2748a7f2daa40'/>
<id>urn:sha1:2dccad3c6f9df2b1eea7eb5617e2748a7f2daa40</id>
<content type='text'>
* ab/enable-i18n:
  i18n: add infrastructure for translating Git with gettext

Conflicts:
	Makefile
</content>
</entry>
<entry>
<title>http-push: enable "proactive auth"</title>
<updated>2011-12-14T00:34:44Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2011-12-14T00:11:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a4ddbc33d7906f0e10c68c140a9a1003d9715a77'/>
<id>urn:sha1:a4ddbc33d7906f0e10c68c140a9a1003d9715a77</id>
<content type='text'>
Before commit 986bbc08, git was proactive about asking for
http passwords. It assumed that if you had a username in
your URL, you would also want a password, and asked for it
before making any http requests.

However, this could interfere with the use of .netrc (see
986bbc08 for details). And it was also unnecessary, since
the http fetching code had learned to recognize an HTTP 401
and prompt the user then. Furthermore, the proactive prompt
could interfere with the usage of .netrc (see 986bbc08 for
details).

Unfortunately, the http push-over-DAV code never learned to
recognize HTTP 401, and so was broken by this change. This
patch does a quick fix of re-enabling the "proactive auth"
strategy only for http-push, leaving the dumb http fetch and
smart-http as-is.

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