<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/libgit2.git/src, branch ethomson/header_guards</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>consistent header guards</title>
<updated>2018-02-01T23:56:33+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2018-02-01T23:55:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=abb04caa2f74bb4783eb87202a904c0c3517df85'/>
<id>abb04caa2f74bb4783eb87202a904c0c3517df85</id>
<content type='text'>
use consistent names for the #include / #define header guard pattern.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
use consistent names for the #include / #define header guard pattern.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #4507 from tomas/patch-1</title>
<updated>2018-01-31T22:48:42+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2018-01-31T22:48:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=341608dcd47f1c36ed8cb00e84d3e150bdda70fb'/>
<id>341608dcd47f1c36ed8cb00e84d3e150bdda70fb</id>
<content type='text'>
Honor 'GIT_USE_NSEC' option in `filesystem_iterator_set_current`</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Honor 'GIT_USE_NSEC' option in `filesystem_iterator_set_current`</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #4488 from libgit2/ethomson/conflict_marker_size</title>
<updated>2018-01-31T17:28:43+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2018-01-31T17:28:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=9d8510b3bec46a1de7f598a5ab8305be54800b04'/>
<id>9d8510b3bec46a1de7f598a5ab8305be54800b04</id>
<content type='text'>
Use longer conflict markers in recursive merge base</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use longer conflict markers in recursive merge base</pre>
</div>
</content>
</entry>
<entry>
<title>Set ctime/mtime nanosecs to 0 if USE_NSEC is not defined</title>
<updated>2018-01-31T17:28:25+00:00</updated>
<author>
<name>Tomás Pollak</name>
<email>tomaspollak@gmail.com</email>
</author>
<published>2018-01-31T17:28:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=054e4c08d2600c61a4805197381b15830f2762bd'/>
<id>054e4c08d2600c61a4805197381b15830f2762bd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Honor 'GIT_USE_NSEC' option in `filesystem_iterator_set_current`</title>
<updated>2018-01-31T02:21:19+00:00</updated>
<author>
<name>Tomás Pollak</name>
<email>tomaspollak@gmail.com</email>
</author>
<published>2018-01-31T02:21:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=752006dd9a617466adc50fca1587e5e6325954fd'/>
<id>752006dd9a617466adc50fca1587e5e6325954fd</id>
<content type='text'>
This should have been part of PR #3638. Without this we still get 
nsec-related errors, even when using -DGIT_USE_NSEC:

 error: ‘struct stat’ has no member named ‘st_mtime_nsec’</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This should have been part of PR #3638. Without this we still get 
nsec-related errors, even when using -DGIT_USE_NSEC:

 error: ‘struct stat’ has no member named ‘st_mtime_nsec’</pre>
</div>
</content>
</entry>
<entry>
<title>odb: reject reading and writing null OIDs</title>
<updated>2018-01-26T13:08:40+00:00</updated>
<author>
<name>Patrick Steinhardt</name>
<email>ps@pks.im</email>
</author>
<published>2018-01-12T08:59:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=275f103d4c515d40c73cc17ae7880f1091414393'/>
<id>275f103d4c515d40c73cc17ae7880f1091414393</id>
<content type='text'>
The null OID (hash with all zeroes) indicates a missing object in
upstream git and is thus not a valid object ID. Add defensive
measurements to avoid writing such a hash to the object database in the
very unlikely case where some data results in the null OID. Furthermore,
add shortcuts when reading the null OID from the ODB to avoid ever
returning an object when a faulty repository may contain the null OID.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The null OID (hash with all zeroes) indicates a missing object in
upstream git and is thus not a valid object ID. Add defensive
measurements to avoid writing such a hash to the object database in the
very unlikely case where some data results in the null OID. Furthermore,
add shortcuts when reading the null OID from the ODB to avoid ever
returning an object when a faulty repository may contain the null OID.
</pre>
</div>
</content>
</entry>
<entry>
<title>tree: reject writing null-OID entries to a tree</title>
<updated>2018-01-26T13:08:40+00:00</updated>
<author>
<name>Patrick Steinhardt</name>
<email>ps@pks.im</email>
</author>
<published>2018-01-12T08:23:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=c0487bde7e3891af7b759a092751294d703fef9d'/>
<id>c0487bde7e3891af7b759a092751294d703fef9d</id>
<content type='text'>
In commit a96d3cc3f (cache-tree: reject entries with null sha1,
2017-04-21), the git.git project has changed its stance on null OIDs in
tree objects. Previously, null OIDs were accepted in tree entries to
help tools repair broken history. This resulted in some problems though
in that many code paths mistakenly passed null OIDs to be added to a
tree, which was not properly detected.

Align our own code base according to the upstream change and reject
writing tree entries early when the OID is all-zero.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In commit a96d3cc3f (cache-tree: reject entries with null sha1,
2017-04-21), the git.git project has changed its stance on null OIDs in
tree objects. Previously, null OIDs were accepted in tree entries to
help tools repair broken history. This resulted in some problems though
in that many code paths mistakenly passed null OIDs to be added to a
tree, which was not properly detected.

Align our own code base according to the upstream change and reject
writing tree entries early when the OID is all-zero.
</pre>
</div>
</content>
</entry>
<entry>
<title>odb: export mempack backend</title>
<updated>2018-01-22T10:55:28+00:00</updated>
<author>
<name>Adrián Medraño Calvo</name>
<email>adrian@medranocalvo.com</email>
</author>
<published>2018-01-22T10:55:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=d23ce18710caf4bc210ab874790433d041a6b230'/>
<id>d23ce18710caf4bc210ab874790433d041a6b230</id>
<content type='text'>
Fixes #4492, #4496.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #4492, #4496.
</pre>
</div>
</content>
</entry>
<entry>
<title>merge: recursive uses larger conflict markers</title>
<updated>2018-01-21T11:47:43+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2018-01-20T19:41:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=185b0d0823869bf180bb1d3541dd1dc0ca2447fe'/>
<id>185b0d0823869bf180bb1d3541dd1dc0ca2447fe</id>
<content type='text'>
Git uses longer conflict markers in the recursive merge base - two more
than the default (thus, 9 character long conflict markers).  This allows
users to tell the difference between the recursive merge conflicts and
conflicts between the ours and theirs branches.

This was introduced in git d694a17986a28bbc19e2a6c32404ca24572e400f.

Update our tests to expect this as well.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Git uses longer conflict markers in the recursive merge base - two more
than the default (thus, 9 character long conflict markers).  This allows
users to tell the difference between the recursive merge conflicts and
conflicts between the ours and theirs branches.

This was introduced in git d694a17986a28bbc19e2a6c32404ca24572e400f.

Update our tests to expect this as well.
</pre>
</div>
</content>
</entry>
<entry>
<title>merge: allow custom conflict marker size</title>
<updated>2018-01-21T11:18:25+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2018-01-20T19:39:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=b8e9467a4b7f76c711103c9722deaf8c828d9abc'/>
<id>b8e9467a4b7f76c711103c9722deaf8c828d9abc</id>
<content type='text'>
Allow for a custom conflict marker size, allowing callers to override
the default size of the "&lt;&lt;&lt;&lt;&lt;&lt;&lt;" and "&gt;&gt;&gt;&gt;&gt;&gt;&gt;" markers in the
conflicted output file.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Allow for a custom conflict marker size, allowing callers to override
the default size of the "&lt;&lt;&lt;&lt;&lt;&lt;&lt;" and "&gt;&gt;&gt;&gt;&gt;&gt;&gt;" markers in the
conflicted output file.
</pre>
</div>
</content>
</entry>
</feed>
