<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/libgit2.git/src/tree.c, branch ethomson/diff_file</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>Merge pull request #3792 from edquist/misc</title>
<updated>2016-05-26T05:58:43+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@github.com</email>
</author>
<published>2016-05-26T05:58:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=fdf14637d5ff01bb59638f8bc01ef7cf7c3324ff'/>
<id>fdf14637d5ff01bb59638f8bc01ef7cf7c3324ff</id>
<content type='text'>
Fix comment for GIT_FILEMODE_LINK</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix comment for GIT_FILEMODE_LINK</pre>
</div>
</content>
</entry>
<entry>
<title>tree: handle removal of all entries in the updater</title>
<updated>2016-05-24T12:30:43+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2016-05-24T12:30:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=a2cb47130ec7662811fe3447f69bae3f176e0362'/>
<id>a2cb47130ec7662811fe3447f69bae3f176e0362</id>
<content type='text'>
When we remove all entries in a tree, we should remove that tree from
its parent rather than include the empty tree.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When we remove all entries in a tree, we should remove that tree from
its parent rather than include the empty tree.
</pre>
</div>
</content>
</entry>
<entry>
<title>tree: plug leaks in the tree updater</title>
<updated>2016-05-19T13:29:53+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2016-05-19T13:29:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=534123053633c05faff3a2de8cadd7291596bb21'/>
<id>534123053633c05faff3a2de8cadd7291596bb21</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>tree: use the basename for the entry removal</title>
<updated>2016-05-19T13:22:02+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2016-05-19T13:22:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=6ee08d2cd0671d42e4148988863a6a40fbe721cb'/>
<id>6ee08d2cd0671d42e4148988863a6a40fbe721cb</id>
<content type='text'>
When we want to remove the file, use the basename as the name of the
entry to remove, instead of the full one, which includes the directories
we've inserted into the stack.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When we want to remove the file, use the basename as the name of the
entry to remove, instead of the full one, which includes the directories
we've inserted into the stack.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix comment for GIT_FILEMODE_LINK</title>
<updated>2016-05-18T21:00:01+00:00</updated>
<author>
<name>Carl Edquist</name>
<email>edquist@cs.wisc.edu</email>
</author>
<published>2016-05-18T21:00:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=c8fb2e152a7b4fd3285fb88245bb3c76d246f09f'/>
<id>c8fb2e152a7b4fd3285fb88245bb3c76d246f09f</id>
<content type='text'>
0120000 is symbolic link, not commit
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
0120000 is symbolic link, not commit
</pre>
</div>
</content>
</entry>
<entry>
<title>Introduce a function to create a tree based on a different one</title>
<updated>2016-05-17T15:41:05+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2016-05-02T15:36:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=9464f9ebc1794314421353e10eeddfa8a950f7ab'/>
<id>9464f9ebc1794314421353e10eeddfa8a950f7ab</id>
<content type='text'>
Instead of going through the usual steps of reading a tree recursively
into an index, modifying it and writing it back out as a tree, introduce
a function to perform simple updates more efficiently.

`git_tree_create_updated` avoids reading trees which are not modified
and supports upsert and delete operations. It is not as versatile as
modifying the index, but it makes some common operations much more
efficient.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of going through the usual steps of reading a tree recursively
into an index, modifying it and writing it back out as a tree, introduce
a function to perform simple updates more efficiently.

`git_tree_create_updated` avoids reading trees which are not modified
and supports upsert and delete operations. It is not as versatile as
modifying the index, but it makes some common operations much more
efficient.
</pre>
</div>
</content>
</entry>
<entry>
<title>Plug a few leaks</title>
<updated>2016-03-31T14:41:33+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2016-03-29T12:47:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=f5c874a475f746bb1357710c417fa902dd662eaf'/>
<id>f5c874a475f746bb1357710c417fa902dd662eaf</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>tree: drop the now-unnecessary entries vector</title>
<updated>2016-03-22T13:21:13+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@github.com</email>
</author>
<published>2016-03-22T04:18:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=e2e4bae9a091152166773fb5681f2b3acb18b43b'/>
<id>e2e4bae9a091152166773fb5681f2b3acb18b43b</id>
<content type='text'>
Remove the now-unnecessary entries vector.  Add `git_array_search`
to binary search through an array to accomplish this.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove the now-unnecessary entries vector.  Add `git_array_search`
to binary search through an array to accomplish this.
</pre>
</div>
</content>
</entry>
<entry>
<title>tree: store the entries in a growable array</title>
<updated>2016-03-20T11:01:45+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2016-03-20T11:01:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=4ed9e939e2e44d202799b2562ac95eb9da5689e3'/>
<id>4ed9e939e2e44d202799b2562ac95eb9da5689e3</id>
<content type='text'>
Take advantage of the constant size of tree-owned arrays and store them
in an array instead of a pool. This still lets us free them all at once
but lets the system allocator do the work of fitting them in.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Take advantage of the constant size of tree-owned arrays and store them
in an array instead of a pool. This still lets us free them all at once
but lets the system allocator do the work of fitting them in.
</pre>
</div>
</content>
</entry>
<entry>
<title>tree: re-use the id and filename in the odb object</title>
<updated>2016-03-20T10:00:12+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2016-03-20T10:00:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=60a194aa86d54ffb55c1abff8d0ef05647f936e8'/>
<id>60a194aa86d54ffb55c1abff8d0ef05647f936e8</id>
<content type='text'>
Instead of copying over the data into the individual entries, point to
the originals, which are already in a format we can use.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of copying over the data into the individual entries, point to
the originals, which are already in a format we can use.
</pre>
</div>
</content>
</entry>
</feed>
