<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/libgit2.git/tests/commit/parse.c, branch ethomson/patch_from_diff</title>
<subtitle>github.com: libgit2/libgit2.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/'/>
<entry>
<title>commit: fix extraction of single-line signatures</title>
<updated>2016-03-17T09:48:06+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>carlosmn@github.com</email>
</author>
<published>2016-03-17T09:45:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=bf804d407e8d1fcff42e1113aa286270ae8925c0'/>
<id>bf804d407e8d1fcff42e1113aa286270ae8925c0</id>
<content type='text'>
The function to extract signatures suffers from a similar bug to the
header field finding one by having an unecessary line feed check as a
break condition of its loop.

Fix that and add a test for this single-line signature situation.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The function to extract signatures suffers from a similar bug to the
header field finding one by having an unecessary line feed check as a
break condition of its loop.

Fix that and add a test for this single-line signature situation.
</pre>
</div>
</content>
</entry>
<entry>
<title>commit: expose the different kinds of errors</title>
<updated>2016-02-16T13:06:48+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2016-02-16T13:06:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=eadd0f05f6faf14f94876839f00981da5d642667'/>
<id>eadd0f05f6faf14f94876839f00981da5d642667</id>
<content type='text'>
We should be checking whether the object we're looking up is a commit,
and we should let the caller know whether the not-found return code
comes from a bad object type or just a missing signature.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We should be checking whether the object we're looking up is a commit,
and we should let the caller know whether the not-found return code
comes from a bad object type or just a missing signature.
</pre>
</div>
</content>
</entry>
<entry>
<title>commit: don't forget the last header field</title>
<updated>2016-02-11T21:19:20+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2016-02-11T21:19:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=460ae11f0a8178c5d5abc55574dc3e0e312a47ea'/>
<id>460ae11f0a8178c5d5abc55574dc3e0e312a47ea</id>
<content type='text'>
When we moved the logic to handle the first one, wrong loop logic was
kept in place which meant we still finished early. But we now notice it
because we're not reading past the last LF we find.

This was not noticed before as the last field in the tested commit was
multi-line which does not trigger the early break.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When we moved the logic to handle the first one, wrong loop logic was
kept in place which meant we still finished early. But we now notice it
because we're not reading past the last LF we find.

This was not noticed before as the last field in the tested commit was
multi-line which does not trigger the early break.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #3599 from libgit2/gpgsign</title>
<updated>2016-02-09T15:26:58+00:00</updated>
<author>
<name>Vicent Marti</name>
<email>vicent@github.com</email>
</author>
<published>2016-02-09T15:26:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=488e2b85053a45dd2ce6a37b7d5cf70870be5ed8'/>
<id>488e2b85053a45dd2ce6a37b7d5cf70870be5ed8</id>
<content type='text'>
Introduce git_commit_extract_signature</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Introduce git_commit_extract_signature</pre>
</div>
</content>
</entry>
<entry>
<title>Introduce git_commit_extract_signature</title>
<updated>2016-02-09T14:58:16+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2016-02-08T17:51:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=a65afb757e2675eb8889a9ce1f8809434cdb3af7'/>
<id>a65afb757e2675eb8889a9ce1f8809434cdb3af7</id>
<content type='text'>
This returns the GPG signature for a commit and its contents without the
signature block, allowing for the verification of the commit's
signature.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This returns the GPG signature for a commit and its contents without the
signature block, allowing for the verification of the commit's
signature.
</pre>
</div>
</content>
</entry>
<entry>
<title>commit: also match the first header field when searching</title>
<updated>2016-02-09T06:17:26+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2016-02-09T06:17:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=f55eca167c2d08045dff929adb8ad8b81d8ccc86'/>
<id>f55eca167c2d08045dff929adb8ad8b81d8ccc86</id>
<content type='text'>
We were searching only past the first header field, which meant we were
unable to find e.g. `tree` which is the first field.

While here, make sure to set an error message in case we cannot find the
field.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We were searching only past the first header field, which meant we were
unable to find e.g. `tree` which is the first field.

While here, make sure to set an error message in case we cannot find the
field.
</pre>
</div>
</content>
</entry>
<entry>
<title>commit: allow retrieving an arbitrary header field</title>
<updated>2015-06-22T13:56:31+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2015-06-22T13:32:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=a3f42fe8e4cdae8c85ba5d7d7b4c9fd1247d5227'/>
<id>a3f42fe8e4cdae8c85ba5d7d7b4c9fd1247d5227</id>
<content type='text'>
This allows the user to look up fields which we don't parse in libgit2,
and allows them to access gpgsig or mergetag fields if they wish to
check the signature.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows the user to look up fields which we don't parse in libgit2,
and allows them to access gpgsig or mergetag fields if they wish to
check the signature.
</pre>
</div>
</content>
</entry>
<entry>
<title>commit: ignore multiple author fields</title>
<updated>2015-06-11T06:24:58+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2015-06-11T06:24:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=65d69fe854ceeb65eeaed7f38a1f4a4771532b9d'/>
<id>65d69fe854ceeb65eeaed7f38a1f4a4771532b9d</id>
<content type='text'>
Some tools create multiple author fields. git is rather lax when parsing
them, although fsck does complain about them. This means that they exist
in the wild.

As it's not too taxing to check for them, and there shouldn't be a
noticeable slowdown when dealing with correct commits, add logic to skip
over these extra fields when parsing the commit.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some tools create multiple author fields. git is rather lax when parsing
them, although fsck does complain about them. This means that they exist
in the wild.

As it's not too taxing to check for them, and there shouldn't be a
noticeable slowdown when dealing with correct commits, add logic to skip
over these extra fields when parsing the commit.
</pre>
</div>
</content>
</entry>
<entry>
<title>Rename tests-clar to tests</title>
<updated>2013-11-14T22:05:52+00:00</updated>
<author>
<name>Ben Straub</name>
<email>bs@github.com</email>
</author>
<published>2013-11-14T22:05:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=1782038144ef3413831801bb9c2f3038a84ac6f4'/>
<id>1782038144ef3413831801bb9c2f3038a84ac6f4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
