<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/libgit2.git/src, branch cmn/warn-python</title>
<subtitle>github.com: libgit2/libgit2.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/'/>
<entry>
<title>Merge pull request #3411 from spraints/custom-push-headers</title>
<updated>2015-09-30T07:17:18+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2015-09-30T07:17:18+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=72b7c57093909d3f2333ebbc8c91953fce899b17'/>
<id>72b7c57093909d3f2333ebbc8c91953fce899b17</id>
<content type='text'>
Include custom HTTP headers</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Include custom HTTP headers</pre>
</div>
</content>
</entry>
<entry>
<title>Plug some leaks</title>
<updated>2015-09-27T21:32:20+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2015-09-27T21:32:20+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=5c5df666b0b2ed4433c6fb931280f9641e967a13'/>
<id>5c5df666b0b2ed4433c6fb931280f9641e967a13</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix binary diffs</title>
<updated>2015-09-25T17:37:41+00:00</updated>
<author>
<name>Guille -bisho-</name>
<email>bisho@freedreams.org</email>
</author>
<published>2015-09-25T17:37:41+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=e4b2b919bb35d94d6dbcb5f7a31805788f2e335b'/>
<id>e4b2b919bb35d94d6dbcb5f7a31805788f2e335b</id>
<content type='text'>
git expects an empty line after the binary data:

literal X
...binary data...
&lt;empty_line&gt;

The last literal block of the generated patches were not containing the required empty line. Example:

	diff --git a/binary_file b/binary_file
	index 3f1b3f9098131cfecea4a50ff8afab349ea66d22..86e5c1008b5ce635d3e3fffa4434c5eccd8f00b6 100644
	GIT binary patch
	literal 8
	Pc${NM&amp;PdElPvrst3ey5{

	literal 6
	Nc${NM%g@i}0ssZ|0lokL
	diff --git a/binary_file2 b/binary_file2
	index 31be99be19470da4af5b28b21e27896a2f2f9ee2..86e5c1008b5ce635d3e3fffa4434c5eccd8f00b6 100644
	GIT binary patch
	literal 8
	Pc${NM&amp;PdElPvrst3ey5{

	literal 13
	Sc${NMEKbZyOexL+Qd|HZV+4u-

git apply of that diff results in:

	error: corrupt binary patch at line 9: diff --git a/binary_file2 b/binary_file2
	fatal: patch with only garbage at line 10

The proper formating is:

	diff --git a/binary_file b/binary_file
	index 3f1b3f9098131cfecea4a50ff8afab349ea66d22..86e5c1008b5ce635d3e3fffa4434c5eccd8f00b6 100644
	GIT binary patch
	literal 8
	Pc${NM&amp;PdElPvrst3ey5{

	literal 6
	Nc${NM%g@i}0ssZ|0lokL
	diff --git a/binary_file2 b/binary_file2
	index 31be99be19470da4af5b28b21e27896a2f2f9ee2..86e5c1008b5ce635d3e3fffa4434c5eccd8f00b6 100644
	GIT binary patch
	literal 8
	Pc${NM&amp;PdElPvrst3ey5{

	literal 13
	Sc${NMEKbZyOexL+Qd|HZV+4u-
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git expects an empty line after the binary data:

literal X
...binary data...
&lt;empty_line&gt;

The last literal block of the generated patches were not containing the required empty line. Example:

	diff --git a/binary_file b/binary_file
	index 3f1b3f9098131cfecea4a50ff8afab349ea66d22..86e5c1008b5ce635d3e3fffa4434c5eccd8f00b6 100644
	GIT binary patch
	literal 8
	Pc${NM&amp;PdElPvrst3ey5{

	literal 6
	Nc${NM%g@i}0ssZ|0lokL
	diff --git a/binary_file2 b/binary_file2
	index 31be99be19470da4af5b28b21e27896a2f2f9ee2..86e5c1008b5ce635d3e3fffa4434c5eccd8f00b6 100644
	GIT binary patch
	literal 8
	Pc${NM&amp;PdElPvrst3ey5{

	literal 13
	Sc${NMEKbZyOexL+Qd|HZV+4u-

git apply of that diff results in:

	error: corrupt binary patch at line 9: diff --git a/binary_file2 b/binary_file2
	fatal: patch with only garbage at line 10

The proper formating is:

	diff --git a/binary_file b/binary_file
	index 3f1b3f9098131cfecea4a50ff8afab349ea66d22..86e5c1008b5ce635d3e3fffa4434c5eccd8f00b6 100644
	GIT binary patch
	literal 8
	Pc${NM&amp;PdElPvrst3ey5{

	literal 6
	Nc${NM%g@i}0ssZ|0lokL
	diff --git a/binary_file2 b/binary_file2
	index 31be99be19470da4af5b28b21e27896a2f2f9ee2..86e5c1008b5ce635d3e3fffa4434c5eccd8f00b6 100644
	GIT binary patch
	literal 8
	Pc${NM&amp;PdElPvrst3ey5{

	literal 13
	Sc${NMEKbZyOexL+Qd|HZV+4u-
</pre>
</div>
</content>
</entry>
<entry>
<title>Copy custom_headers insteach of referencing the caller's copy</title>
<updated>2015-09-25T14:16:30+00:00</updated>
<author>
<name>Matt Burke</name>
<email>spraints@gmail.com</email>
</author>
<published>2015-09-25T14:16:16+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=d7375662e7b4c885ea4865403e4db4c130e79198'/>
<id>d7375662e7b4c885ea4865403e4db4c130e79198</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>These can be static</title>
<updated>2015-09-24T14:32:29+00:00</updated>
<author>
<name>Matt Burke</name>
<email>spraints@gmail.com</email>
</author>
<published>2015-09-24T14:30:37+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=d16c1b978fa3498a8a800d80ef6ed8a1e39ca314'/>
<id>d16c1b978fa3498a8a800d80ef6ed8a1e39ca314</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Revise custom header error messages</title>
<updated>2015-09-24T13:24:10+00:00</updated>
<author>
<name>Matt Burke</name>
<email>spraints@gmail.com</email>
</author>
<published>2015-09-24T13:24:10+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=e60db3c79a82459aff9bd90fc97ff9d5fb886a04'/>
<id>e60db3c79a82459aff9bd90fc97ff9d5fb886a04</id>
<content type='text'>
If the header doesn't look like a header (e.g. if it doesn't have a ":"
or if it has newlines), report "custom HTTP header '%s' is malformed".

If the header has the same name as a header already set by libgit2 (e.g.
"Host"), report "HTTP header '%s' is already set by libgit2".
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If the header doesn't look like a header (e.g. if it doesn't have a ":"
or if it has newlines), report "custom HTTP header '%s' is malformed".

If the header has the same name as a header already set by libgit2 (e.g.
"Host"), report "HTTP header '%s' is already set by libgit2".
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't null-check</title>
<updated>2015-09-24T13:13:05+00:00</updated>
<author>
<name>Matt Burke</name>
<email>spraints@gmail.com</email>
</author>
<published>2015-09-24T13:13:05+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=63cc57232cebab60ad193731582e24e83ea5b3b9'/>
<id>63cc57232cebab60ad193731582e24e83ea5b3b9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use an array of forbidden custom headers</title>
<updated>2015-09-24T13:09:48+00:00</updated>
<author>
<name>Matt Burke</name>
<email>spraints@gmail.com</email>
</author>
<published>2015-09-24T13:09:48+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=098f1e6e2506b3ca6376617751f877bee6fb5d20'/>
<id>098f1e6e2506b3ca6376617751f877bee6fb5d20</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #3437 from libgit2/cmn/plug-sm</title>
<updated>2015-09-24T11:20:48+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2015-09-24T11:20:48+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=588e28ebfd16dc030be3226e4bc2107cdbad67b4'/>
<id>588e28ebfd16dc030be3226e4bc2107cdbad67b4</id>
<content type='text'>
submodule: plug a few leaks</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
submodule: plug a few leaks</pre>
</div>
</content>
</entry>
<entry>
<title>submodule: plug a few leaks</title>
<updated>2015-09-24T09:37:31+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2015-09-23T13:09:19+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=ab8f2c669a2a0bb66d5473f83ecb47ad805a7078'/>
<id>ab8f2c669a2a0bb66d5473f83ecb47ad805a7078</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
