<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/libgit2.git/tests/diff, branch master</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>Merge pull request #5494 from kevinjswinton/master</title>
<updated>2020-10-04T20:41:28+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2020-10-04T20:41:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=9293e165a0214a277af306fcca640c2d637f2792'/>
<id>9293e165a0214a277af306fcca640c2d637f2792</id>
<content type='text'>
Fix binary diff showing /dev/null</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix binary diff showing /dev/null</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #5620 from dlax/parse-patch-add-delete-no-index</title>
<updated>2020-10-04T17:04:01+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2020-10-04T17:04:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=a94fedc11334b23e864824ef33156a660b10022d'/>
<id>a94fedc11334b23e864824ef33156a660b10022d</id>
<content type='text'>
patch_parse: handle absence of "index" header for new/deleted cases</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
patch_parse: handle absence of "index" header for new/deleted cases</pre>
</div>
</content>
</entry>
<entry>
<title>diff stats: fix segfaults with new files</title>
<updated>2020-09-16T19:53:27+00:00</updated>
<author>
<name>Drew DeVault</name>
<email>sir@cmpwn.com</email>
</author>
<published>2020-08-29T14:44:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=ec26b16d734a8a6b4838a1060af46e516c9c58e2'/>
<id>ec26b16d734a8a6b4838a1060af46e516c9c58e2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>patch_parse: handle absence of "index" header for new/deleted cases</title>
<updated>2020-08-29T14:54:15+00:00</updated>
<author>
<name>Denis Laxalde</name>
<email>denis@laxalde.org</email>
</author>
<published>2020-08-29T14:46:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=74293ea04a21f35151f0be095baf7bd3b3fd339c'/>
<id>74293ea04a21f35151f0be095baf7bd3b3fd339c</id>
<content type='text'>
This follows up on 11de594f85479e4804b07dc4f7b33cfe9212bea0 which added
support for parsing patches without extended headers (the "index
&lt;hash&gt;..&lt;hash&gt; &lt;mode&gt;" line); issue #5267.

We now allow transition from "file mode" state to "path" state directly
if there is no "index", which will happen for patches adding or deleting
files as demonstrated in added test case.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This follows up on 11de594f85479e4804b07dc4f7b33cfe9212bea0 which added
support for parsing patches without extended headers (the "index
&lt;hash&gt;..&lt;hash&gt; &lt;mode&gt;" line); issue #5267.

We now allow transition from "file mode" state to "path" state directly
if there is no "index", which will happen for patches adding or deleting
files as demonstrated in added test case.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #5541 from libgit2/ethomson/clar_tap</title>
<updated>2020-06-05T13:11:34+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2020-06-05T13:11:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=c708e5e51d8f6aae517a861c380861c3caf18eb6'/>
<id>c708e5e51d8f6aae517a861c380861c3caf18eb6</id>
<content type='text'>
clar: add tap output option</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
clar: add tap output option</pre>
</div>
</content>
</entry>
<entry>
<title>clar: include the function name</title>
<updated>2020-06-05T07:49:07+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2020-06-05T07:42:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=cad7a1bad40c302fef02306708f6ce6279680cb4'/>
<id>cad7a1bad40c302fef02306708f6ce6279680cb4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>diff::parse: don't include `diff.h`</title>
<updated>2020-06-05T06:17:15+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2020-05-01T11:39:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=06d69dfcfdfa4eb08cb402ed3a55091eb7d2b97b'/>
<id>06d69dfcfdfa4eb08cb402ed3a55091eb7d2b97b</id>
<content type='text'>
We don't call any internal functions in the test; we don't need to
include `../src/diff.h`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We don't call any internal functions in the test; we don't need to
include `../src/diff.h`.
</pre>
</div>
</content>
</entry>
<entry>
<title>diff::workdir: actually test the buffers</title>
<updated>2020-05-23T15:27:56+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2020-05-23T15:27:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=3414d4707ceec7d7b3d632ca03cb0bd8f6ced9a0'/>
<id>3414d4707ceec7d7b3d632ca03cb0bd8f6ced9a0</id>
<content type='text'>
The static test data is erroneously initialized with a length of 0 for
three of the strings.  This means the tests are not actually examining
those strings.  Provide the length.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The static test data is erroneously initialized with a length of 0 for
three of the strings.  This means the tests are not actually examining
those strings.  Provide the length.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix binary diff showing /dev/null</title>
<updated>2020-04-18T10:32:56+00:00</updated>
<author>
<name>Kevin Swinton</name>
<email>kevin.swinton@gmail.com</email>
</author>
<published>2020-04-18T10:32:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=e72ade87fdb3acf3cbb6bf6d52cd774d924e0e2c'/>
<id>e72ade87fdb3acf3cbb6bf6d52cd774d924e0e2c</id>
<content type='text'>
Fixes issue where a changed binary file's content in the working
tree isn't displayed correctly, instead showing an oid of zero,
and with its path being reported incorrectly as "/dev/null".
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes issue where a changed binary file's content in the working
tree isn't displayed correctly, instead showing an oid of zero,
and with its path being reported incorrectly as "/dev/null".
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: diff: add test to verify behaviour with empty dir ordering</title>
<updated>2020-02-07T14:05:01+00:00</updated>
<author>
<name>Patrick Steinhardt</name>
<email>ps@pks.im</email>
</author>
<published>2020-02-04T09:58:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=17670ef25c8e6b4c0e95d5f272e546e20aa984fe'/>
<id>17670ef25c8e6b4c0e95d5f272e546e20aa984fe</id>
<content type='text'>
It was reported that, given a file "abc.txt", a diff will be shown if an
empty directory "abb/" is created, but not if "abd/" is created. Add a
test to verify that we do the right thing here and do not depend on any
ordering.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It was reported that, given a file "abc.txt", a diff will be shown if an
empty directory "abb/" is created, but not if "abd/" is created. Add a
test to verify that we do the right thing here and do not depend on any
ordering.
</pre>
</div>
</content>
</entry>
</feed>
