<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/libgit2.git/src/diff.c, branch gpgsign</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>diff: include commit message when formatting patch</title>
<updated>2015-12-01T09:12:53+00:00</updated>
<author>
<name>Patrick Steinhardt</name>
<email>ps@pks.im</email>
</author>
<published>2015-11-24T12:43:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=254e0a33ee66c65948e15efbe93a810c4077e324'/>
<id>254e0a33ee66c65948e15efbe93a810c4077e324</id>
<content type='text'>
When formatting a patch as email we do not include the commit's
message in the formatted patch output. Implement this and add a
test that verifies behavior.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When formatting a patch as email we do not include the commit's
message in the formatted patch output. Implement this and add a
test that verifies behavior.
</pre>
</div>
</content>
</entry>
<entry>
<title>checkout: only consider nsecs when built that way</title>
<updated>2015-11-23T20:49:54+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@microsoft.com</email>
</author>
<published>2015-11-23T20:49:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=25e84f959ae77f21c32849aa98f274b9d8283f2d'/>
<id>25e84f959ae77f21c32849aa98f274b9d8283f2d</id>
<content type='text'>
When examining the working directory and determining whether it's
up-to-date, only consider the nanoseconds in the index entry when
built with `GIT_USE_NSEC`.  This prevents us from believing that
the working directory is always dirty when the index was originally
written with a git client that uinderstands nsecs (like git 2.x).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When examining the working directory and determining whether it's
up-to-date, only consider the nanoseconds in the index entry when
built with `GIT_USE_NSEC`.  This prevents us from believing that
the working directory is always dirty when the index was originally
written with a git client that uinderstands nsecs (like git 2.x).
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #3170 from CmdrMoozy/nsec_fix</title>
<updated>2015-11-12T18:53:09+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2015-11-12T18:53:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=75a0ccf52fef2cab281de886730cda595d3736aa'/>
<id>75a0ccf52fef2cab281de886730cda595d3736aa</id>
<content type='text'>
git_index_entry__init_from_stat: set nsec fields in entry stats</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git_index_entry__init_from_stat: set nsec fields in entry stats</pre>
</div>
</content>
</entry>
<entry>
<title>Add diff progress callback.</title>
<updated>2015-11-02T21:33:58+00:00</updated>
<author>
<name>Jason Haslam</name>
<email>jason@scitools.com</email>
</author>
<published>2015-07-16T16:17:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=3138ad936682addd191913c42946aae431b4eece'/>
<id>3138ad936682addd191913c42946aae431b4eece</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>pool: Simplify implementation</title>
<updated>2015-10-28T09:13:13+00:00</updated>
<author>
<name>Vicent Marti</name>
<email>tanoku@gmail.com</email>
</author>
<published>2015-10-27T16:26:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=1e5e02b4f47779fe3733b1a6ab24a6ca13099ec3'/>
<id>1e5e02b4f47779fe3733b1a6ab24a6ca13099ec3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>diff: ignore nsecs when diffing</title>
<updated>2015-10-22T13:35:47+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2015-10-22T13:30:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=7499eae98aaf15805882c3db16b661d76260af79'/>
<id>7499eae98aaf15805882c3db16b661d76260af79</id>
<content type='text'>
Although our index contains the literal time present in the index,
we do not read nanoseconds from disk, and thus we should not use
them in any comparisons, lest we always think our working directory
is dirty.

Guard this behind a `GIT_USE_NSECS` for future improvement.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Although our index contains the literal time present in the index,
we do not read nanoseconds from disk, and thus we should not use
them in any comparisons, lest we always think our working directory
is dirty.

Guard this behind a `GIT_USE_NSECS` for future improvement.
</pre>
</div>
</content>
</entry>
<entry>
<title>diff: refactor complex timestamp check into its own function</title>
<updated>2015-10-02T01:36:10+00:00</updated>
<author>
<name>Axel Rasmussen</name>
<email>axelrasmussen@google.com</email>
</author>
<published>2015-10-02T01:36:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=28659e50d56bb79460c8a1d2315443267d6e6f66'/>
<id>28659e50d56bb79460c8a1d2315443267d6e6f66</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>diff/index: respect USE_NSEC for racily clean file detection</title>
<updated>2015-09-19T06:33:56+00:00</updated>
<author>
<name>Axel Rasmussen</name>
<email>axelrasmussen@google.com</email>
</author>
<published>2015-08-29T20:59:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=0226f7dd36c990e9bc1632adbc655fefc797513a'/>
<id>0226f7dd36c990e9bc1632adbc655fefc797513a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>cmake: add USE_NSEC, and only check nanosec m/ctime if enabled</title>
<updated>2015-09-19T06:33:55+00:00</updated>
<author>
<name>Axel Rasmussen</name>
<email>axelrasmussen@google.com</email>
</author>
<published>2015-06-01T19:43:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=e7de893ef899705f7b7e2d9894a7fda147b6d091'/>
<id>e7de893ef899705f7b7e2d9894a7fda147b6d091</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 pathspec on non-files</title>
<updated>2015-09-12T19:32:18+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2015-09-12T19:32:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=8ab4d0e1e16bf42e4617a40a13d67385fc8fa40c'/>
<id>8ab4d0e1e16bf42e4617a40a13d67385fc8fa40c</id>
<content type='text'>
When we're not doing pathspec matching, we let the iterator handle
file matching for us.  However, we can only trust the iterator to
return *files* that match the pattern, because the iterator must
return directories that are not strictly in the pathlist, but that
are the parents of files that match the pattern, so that diff can
later recurse into them.

Thus, diff must examine non-files explicitly before including them
in the delta list.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When we're not doing pathspec matching, we let the iterator handle
file matching for us.  However, we can only trust the iterator to
return *files* that match the pattern, because the iterator must
return directories that are not strictly in the pathlist, but that
are the parents of files that match the pattern, so that diff can
later recurse into them.

Thus, diff must examine non-files explicitly before including them
in the delta list.
</pre>
</div>
</content>
</entry>
</feed>
