<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/libgit2.git/src, branch ethomson/treebuilder_write</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>tree: deprecate `git_treebuilder_write_with_buffer`</title>
<updated>2021-03-04T09:30:21+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2021-02-28T00:20:28+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=7eb21516ad9a1bd8e7e7b16198e0a4eda299e87d'/>
<id>7eb21516ad9a1bd8e7e7b16198e0a4eda299e87d</id>
<content type='text'>
The function `git_treebuilder_write_with_buffer` is unnecessary; it
is used internally as part of treebuilder writing, but it has little
use to external callers.  For callers that repeatedly write a
treebuilder, we can supply them with a buffer in the treebuilder struct
instead of recreating it.  For ourselves, when we want a single buffer
in our write loop, we can use an internal function.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The function `git_treebuilder_write_with_buffer` is unnecessary; it
is used internally as part of treebuilder writing, but it has little
use to external callers.  For callers that repeatedly write a
treebuilder, we can supply them with a buffer in the treebuilder struct
instead of recreating it.  For ourselves, when we want a single buffer
in our write loop, we can use an internal function.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #5801 from mamapanda/patch-1</title>
<updated>2021-02-21T20:43:51+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2021-02-21T20:43:51+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=0fb58396835f789b3c662184003ff34cbf98d248'/>
<id>0fb58396835f789b3c662184003ff34cbf98d248</id>
<content type='text'>
index: Check git_vector_dup error in write_entries</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
index: Check git_vector_dup error in write_entries</pre>
</div>
</content>
</entry>
<entry>
<title>index: Initialize case_sorted to GIT_VECTOR_INIT</title>
<updated>2021-02-19T00:37:29+00:00</updated>
<author>
<name>panda</name>
<email>daniel.phan36@gmail.com</email>
</author>
<published>2021-02-19T00:36:42+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=409305081372c7e881dfa8f35a2696366abc712b'/>
<id>409305081372c7e881dfa8f35a2696366abc712b</id>
<content type='text'>
This is for extra safety within write_entries
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is for extra safety within write_entries
</pre>
</div>
</content>
</entry>
<entry>
<title>index: Check git_vector_dup error in write_entries</title>
<updated>2021-02-17T02:32:44+00:00</updated>
<author>
<name>panda</name>
<email>daniel.phan36@gmail.com</email>
</author>
<published>2021-02-16T21:43:09+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=21981f28627b65d43590166b6a1782bb101dcddd'/>
<id>21981f28627b65d43590166b6a1782bb101dcddd</id>
<content type='text'>
If allocating case_sorted.contents fails, git_vector_sort will segfault.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If allocating case_sorted.contents fails, git_vector_sort will segfault.
</pre>
</div>
</content>
</entry>
<entry>
<title>refdb_fs: Check git_sortedcache wlock/rlock errors</title>
<updated>2021-02-17T02:24:32+00:00</updated>
<author>
<name>panda</name>
<email>daniel.phan36@gmail.com</email>
</author>
<published>2021-02-16T21:08:02+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=36232528105303843e8474c5406d533bee396a76'/>
<id>36232528105303843e8474c5406d533bee396a76</id>
<content type='text'>
To prevent a race condition, these wlock/rlock calls should probably be checked
for errors.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To prevent a race condition, these wlock/rlock calls should probably be checked
for errors.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #5731 from KOLANICH-libs/owner_accessor</title>
<updated>2021-02-01T10:07:00+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2021-02-01T10:07:00+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=02eb1711283473c1f2e8dba6005467ef8e275855'/>
<id>02eb1711283473c1f2e8dba6005467ef8e275855</id>
<content type='text'>
patch: add owner accessor</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
patch: add owner accessor</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #5762 from lhchavez/cgraph-parser</title>
<updated>2021-02-01T09:58:25+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2021-02-01T09:58:25+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=2ad1525099e430827d901e52cd0dd580ce1b7a8f'/>
<id>2ad1525099e430827d901e52cd0dd580ce1b7a8f</id>
<content type='text'>
commit-graph: Introduce a parser for commit-graph files</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit-graph: Introduce a parser for commit-graph files</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #5786 from libgit2/ethomson/revparse</title>
<updated>2021-02-01T09:41:42+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2021-02-01T09:41:42+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=0a710091ef1ad5f05e74458cc3d7aac4bfdb9569'/>
<id>0a710091ef1ad5f05e74458cc3d7aac4bfdb9569</id>
<content type='text'>
revspec: rename git_revparse_mode_t to git_revspec_t</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
revspec: rename git_revparse_mode_t to git_revspec_t</pre>
</div>
</content>
</entry>
<entry>
<title>revspec: rename git_revparse_mode_t to git_revspec_t</title>
<updated>2021-01-31T16:36:31+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2021-01-31T00:36:54+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=4732e03056b1b88fdeb3276d96dfd9400d75233a'/>
<id>4732e03056b1b88fdeb3276d96dfd9400d75233a</id>
<content type='text'>
The information about the type of a revision spec is not information
about the parser.  Name it accordingly, so that `git_revparse_mode_t`
is now `git_revspec_t`.  Deprecate the old name.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The information about the type of a revision spec is not information
about the parser.  Name it accordingly, so that `git_revparse_mode_t`
is now `git_revspec_t`.  Deprecate the old name.
</pre>
</div>
</content>
</entry>
<entry>
<title>mwindow: Fix a bug in the LRU window finding code</title>
<updated>2021-01-20T12:40:40+00:00</updated>
<author>
<name>lhchavez</name>
<email>lhchavez@lhchavez.com</email>
</author>
<published>2021-01-20T12:40:40+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=2f382ab74b7b8568b47e118f1802763a911b84e3'/>
<id>2f382ab74b7b8568b47e118f1802763a911b84e3</id>
<content type='text'>
This change now updates the `lru_window` variable to match the current
file's MRU window. This makes it such that it doesn't always choose the
file that happened to come last in the list of window files, and instead
should now correctly choose the file with the least-recently-used one.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change now updates the `lru_window` variable to match the current
file's MRU window. This makes it such that it doesn't always choose the
file that happened to come last in the list of window files, and instead
should now correctly choose the file with the least-recently-used one.
</pre>
</div>
</content>
</entry>
</feed>
