<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/libgit2.git/tests/diff, branch cmn/diff-binary-patch</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>binary diff: test that the diff and patch otputs are the same</title>
<updated>2015-06-24T12:33:02+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2015-06-24T12:25:36+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=76633215d155dff2d5cda302aa868043b2c7090c'/>
<id>76633215d155dff2d5cda302aa868043b2c7090c</id>
<content type='text'>
We test the generation of the textual patch via the patch function,
which are just one of two possibilities to get the output.

Add a second patch generation via the diff function to make sure both
outputs are in sync.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We test the generation of the textual patch via the patch function,
which are just one of two possibilities to get the output.

Add a second patch generation via the diff function to make sure both
outputs are in sync.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #3222 from git-up/conflicted</title>
<updated>2015-06-24T03:52:03+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2015-06-24T03:52:03+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=cc605e73acad8b665c3b89a645eae9de4299774b'/>
<id>cc605e73acad8b665c3b89a645eae9de4299774b</id>
<content type='text'>
Fixed GIT_DELTA_CONFLICTED not returned in some cases</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixed GIT_DELTA_CONFLICTED not returned in some cases</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #3226 from libgit2/cmn/racy-diff-again</title>
<updated>2015-06-24T03:30:58+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2015-06-24T03:30:58+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=bd670abd23944a20c6a84978ea590c8fd4258cb2'/>
<id>bd670abd23944a20c6a84978ea590c8fd4258cb2</id>
<content type='text'>
racy-git, the missing link</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
racy-git, the missing link</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed GIT_DELTA_CONFLICTED not returned in some cases</title>
<updated>2015-06-23T14:48:26+00:00</updated>
<author>
<name>Pierre-Olivier Latour</name>
<email>pol@mac.com</email>
</author>
<published>2015-06-15T18:14:40+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=8d8a2eefef0fbb42d7a7fb8f88ca7481515e2737'/>
<id>8d8a2eefef0fbb42d7a7fb8f88ca7481515e2737</id>
<content type='text'>
If an index entry for a file that is not in HEAD is in conflicted state,
when diffing HEAD with the index, the status field of the corresponding git_diff_delta was incorrectly reported as GIT_DELTA_ADDED instead of GIT_DELTA_CONFLICTED.

This was due to handle_unmatched_new_item() initially setting the status
to GIT_DELTA_CONFLICTED but then overriding it later with GIT_DELTA_ADDED.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If an index entry for a file that is not in HEAD is in conflicted state,
when diffing HEAD with the index, the status field of the corresponding git_diff_delta was incorrectly reported as GIT_DELTA_ADDED instead of GIT_DELTA_CONFLICTED.

This was due to handle_unmatched_new_item() initially setting the status
to GIT_DELTA_CONFLICTED but then overriding it later with GIT_DELTA_ADDED.
</pre>
</div>
</content>
</entry>
<entry>
<title>Explicitly handle GIT_DELTA_CONFLICTED in git_diff_merge()</title>
<updated>2015-06-23T04:37:41+00:00</updated>
<author>
<name>Pierre-Olivier Latour</name>
<email>pol@mac.com</email>
</author>
<published>2015-06-17T15:55:09+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=cb63e7e8971134e41e99a7010d9b2ad54e6639ff'/>
<id>cb63e7e8971134e41e99a7010d9b2ad54e6639ff</id>
<content type='text'>
This fixes a bug where if a file was in conflicted state in either diff,
it would not always remain in conflicted state in the merged diff.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes a bug where if a file was in conflicted state in either diff,
it would not always remain in conflicted state in the merged diff.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: move racy tests to the index</title>
<updated>2015-06-22T14:11:58+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2015-06-20T15:20:07+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=27133caf3c912d81657d307577869571b70cc102'/>
<id>27133caf3c912d81657d307577869571b70cc102</id>
<content type='text'>
They fit there much better, even though we often check by diffing, it's
about the behaviour of the index.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
They fit there much better, even though we often check by diffing, it's
about the behaviour of the index.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: set racy times manually</title>
<updated>2015-06-22T10:47:30+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2015-06-20T10:37:32+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=26432a9c62957957bfca96634de6b1e77052c1c5'/>
<id>26432a9c62957957bfca96634de6b1e77052c1c5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: plug leaks in the racy test</title>
<updated>2015-06-22T10:47:30+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2015-06-20T10:36:58+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=6c5eaead49aab97f40305357814f6df720cdd41c'/>
<id>6c5eaead49aab97f40305357814f6df720cdd41c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>diff: check files with the same or newer timestamps</title>
<updated>2015-06-22T10:47:30+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2015-06-17T12:34:10+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=ff47537557f0ac1919e77c5cb21f36f2e98425de'/>
<id>ff47537557f0ac1919e77c5cb21f36f2e98425de</id>
<content type='text'>
When a file on the workdir has the same or a newer timestamp than the
index, we need to perform a full check of the contents, as the update of
the file may have happened just after we wrote the index.

The iterator changes are such that we can reach inside the workdir
iterator from the diff, though it may be better to have an accessor
instead of moving these structs into the header.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When a file on the workdir has the same or a newer timestamp than the
index, we need to perform a full check of the contents, as the update of
the file may have happened just after we wrote the index.

The iterator changes are such that we can reach inside the workdir
iterator from the diff, though it may be better to have an accessor
instead of moving these structs into the header.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #3219 from libgit2/cmn/racy-diff</title>
<updated>2015-06-17T06:15:49+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2015-06-17T06:15:49+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=a56db99234017eb7814258dfe8bcdec365417a3b'/>
<id>a56db99234017eb7814258dfe8bcdec365417a3b</id>
<content type='text'>
Zero out racily-clean entries' file_size</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Zero out racily-clean entries' file_size</pre>
</div>
</content>
</entry>
</feed>
