<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/libgit2.git/tests/checkout, 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>crlf tests: ensure that Unix obeys autocrlf=true</title>
<updated>2015-06-22T16:00:26+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2015-06-09T03:50:00+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=1e46d54584ea46f024f24a913200568b5694a7a7'/>
<id>1e46d54584ea46f024f24a913200568b5694a7a7</id>
<content type='text'>
All platforms do terrible, horrible, no good, very bad translation
when core.autocrlf=true.  It's not just Windows!
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
All platforms do terrible, horrible, no good, very bad translation
when core.autocrlf=true.  It's not just Windows!
</pre>
</div>
</content>
</entry>
<entry>
<title>crlf tests: use known-good data produced by git</title>
<updated>2015-06-22T16:00:02+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2015-06-08T13:08:01+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=3d92b9abaa2b8a8e87b38532887fe075967985f7'/>
<id>3d92b9abaa2b8a8e87b38532887fe075967985f7</id>
<content type='text'>
Given a variety of combinations of core.autocrlf settings and
attributes settings, test that we check out data into the working
directory the same as a known-good test resource created by git.git.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Given a variety of combinations of core.autocrlf settings and
attributes settings, test that we check out data into the working
directory the same as a known-good test resource created by git.git.
</pre>
</div>
</content>
</entry>
<entry>
<title>crlf: include utf8 resources in master branch</title>
<updated>2015-06-22T15:59:54+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2015-06-08T13:04:39+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=bd5e59ee72113206e0f0d64853413f7dc41156bf'/>
<id>bd5e59ee72113206e0f0d64853413f7dc41156bf</id>
<content type='text'>
Include the UTF8 and UTF8 BOM tests in the master crlf test
branch for completeness.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Include the UTF8 and UTF8 BOM tests in the master crlf test
branch for completeness.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: tick over five seconds instead of one</title>
<updated>2015-06-20T08:46:10+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2015-06-18T10:45:40+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=863dd89abf08e67126e4247113b5b27476f5ab03'/>
<id>863dd89abf08e67126e4247113b5b27476f5ab03</id>
<content type='text'>
When ticking over one second, it can happen that the actual time ticks
over the same second between the time that we undermine our own race
protections and the time in which we perform the index update. Such
timing would make the time in the entries match the index' timestamp and
we have not gained anything.

Ticking over five seconds makes it so that if real-time rolls over that
second, our index is still ahead. This is still suboptimal as we're
dealing with timing, but five seconds should be long enough for any
reasonable test runner to finish the tests.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When ticking over one second, it can happen that the actual time ticks
over the same second between the time that we undermine our own race
protections and the time in which we perform the index update. Such
timing would make the time in the entries match the index' timestamp and
we have not gained anything.

Ticking over five seconds makes it so that if real-time rolls over that
second, our index is still ahead. This is still suboptimal as we're
dealing with timing, but five seconds should be long enough for any
reasonable test runner to finish the tests.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed Xcode 6.1 build warnings</title>
<updated>2015-06-17T16:00:23+00:00</updated>
<author>
<name>Pierre-Olivier Latour</name>
<email>pol@mac.com</email>
</author>
<published>2015-06-17T16:00:23+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=85a5e8ebe171afa948e0ad18fe3769e0fe1244b5'/>
<id>85a5e8ebe171afa948e0ad18fe3769e0fe1244b5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Introduce p_utimes and p_futimes</title>
<updated>2015-06-16T19:32:02+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@microsoft.com</email>
</author>
<published>2015-06-16T19:18:04+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=121c3171e5b4918337910250487691efa8dbbd49'/>
<id>121c3171e5b4918337910250487691efa8dbbd49</id>
<content type='text'>
Provide functionality to set the time on a filesystem entry,
using utimes or futimes on POSIX type systems or SetFileTime
on Win32.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Provide functionality to set the time on a filesystem entry,
using utimes or futimes on POSIX type systems or SetFileTime
on Win32.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: tick the index when we count OID calculations</title>
<updated>2015-06-16T06:51:45+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2015-06-16T06:51:45+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=e44abe16bd20512c76331e6889f390e35993153a'/>
<id>e44abe16bd20512c76331e6889f390e35993153a</id>
<content type='text'>
These tests want to test that we don't recalculate entries which match
the index already. This is however something we force when truncating
racily-clean entries.

Tick the index forward as we know that we don't perform the
modifications which the racily-clean code is trying to avoid.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These tests want to test that we don't recalculate entries which match
the index already. This is however something we force when truncating
racily-clean entries.

Tick the index forward as we know that we don't perform the
modifications which the racily-clean code is trying to avoid.
</pre>
</div>
</content>
</entry>
<entry>
<title>crlf: tick the index forward to work around racy-git behaviour</title>
<updated>2015-06-16T06:40:45+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2015-06-15T12:32:08+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=c4e6ab5f23819c35dc0c1a0fd7f50e5a194f0d5a'/>
<id>c4e6ab5f23819c35dc0c1a0fd7f50e5a194f0d5a</id>
<content type='text'>
In order to avoid racy-git, we zero out the file size for entries with
the same timestamp as the index (or during the initial checkout). This
is the case in a couple of crlf tests, as the code is fast enough to do
everything in the same second.

As we know that we do not perform the modification just after writing
out the index, which is what this is designed to work around, tick the
mtime of the index file such that it doesn't agree with the files
anymore, and we do not zero out these entries.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In order to avoid racy-git, we zero out the file size for entries with
the same timestamp as the index (or during the initial checkout). This
is the case in a couple of crlf tests, as the code is fast enough to do
everything in the same second.

As we know that we do not perform the modification just after writing
out the index, which is what this is designed to work around, tick the
mtime of the index file such that it doesn't agree with the files
anymore, and we do not zero out these entries.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix leaks in tests/checkout/icase</title>
<updated>2015-06-12T16:28:47+00:00</updated>
<author>
<name>Jeff Hostetler</name>
<email>jeffhostetler@me.com</email>
</author>
<published>2015-06-12T16:28:47+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=26d5c0b823bfce9106cbfa51c9c020874470f19e'/>
<id>26d5c0b823bfce9106cbfa51c9c020874470f19e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Rename GIT_EMERGECONFLICT to GIT_ECONFLICT</title>
<updated>2015-05-29T13:55:09+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@microsoft.com</email>
</author>
<published>2015-05-28T19:26:13+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=885b94aac06f17c55bd6f8df318e0cffb0104efa'/>
<id>885b94aac06f17c55bd6f8df318e0cffb0104efa</id>
<content type='text'>
We do not error on "merge conflicts"; on the contrary, merge conflicts
are a normal part of merging.  We only error on "checkout conflicts",
where a change exists in the index or the working directory that would
otherwise be overwritten by performing the checkout.

This *may* happen during merge (after the production of the new index
that we're going to checkout) but it could happen during any checkout.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We do not error on "merge conflicts"; on the contrary, merge conflicts
are a normal part of merging.  We only error on "checkout conflicts",
where a change exists in the index or the working directory that would
otherwise be overwritten by performing the checkout.

This *may* happen during merge (after the production of the new index
that we're going to checkout) but it could happen during any checkout.
</pre>
</div>
</content>
</entry>
</feed>
