<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/libgit2.git/src, branch cmn/remove-single-entry</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>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>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>Merge pull request #3767 from pks-t/pks/misc-fixes</title>
<updated>2016-05-09T13:58:44+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@github.com</email>
</author>
<published>2016-05-09T13:58:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=c148533024319689fca016f7c452d556265bb13f'/>
<id>c148533024319689fca016f7c452d556265bb13f</id>
<content type='text'>
Misc fixes</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Misc fixes</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #3773 from lucasderraugh/patch-1</title>
<updated>2016-05-08T22:48:22+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@github.com</email>
</author>
<published>2016-05-08T22:48:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=6f02f198c8d07585daf5c1fb1bba69b05eea3807'/>
<id>6f02f198c8d07585daf5c1fb1bba69b05eea3807</id>
<content type='text'>
Fix unused variable 'message' warning</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix unused variable 'message' warning</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #3757 from johnhaley81/jh/fix-create-initial-commit</title>
<updated>2016-05-06T16:44:37+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>carlosmn@github.com</email>
</author>
<published>2016-05-06T16:44:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=17a93afa782ac8aebb37ecb98b928215f36e2008'/>
<id>17a93afa782ac8aebb37ecb98b928215f36e2008</id>
<content type='text'>
Fix `git_commit_create` for an initial commit</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix `git_commit_create` for an initial commit</pre>
</div>
</content>
</entry>
<entry>
<title>Fix unused variable 'message' warning</title>
<updated>2016-05-06T03:35:48+00:00</updated>
<author>
<name>Lucas Derraugh</name>
<email>lucasderraugh@gmail.com</email>
</author>
<published>2016-05-06T03:34:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=2527db872a776db2dbf8f2fe5ec67709ebb5a67d'/>
<id>2527db872a776db2dbf8f2fe5ec67709ebb5a67d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix `git_commit_create` for an initial commit</title>
<updated>2016-05-03T20:32:32+00:00</updated>
<author>
<name>John Haley</name>
<email>johnh@axosoft.com</email>
</author>
<published>2016-04-26T15:09:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=225cb8809ee5ec830fcfcca40efd62d1eba8241d'/>
<id>225cb8809ee5ec830fcfcca40efd62d1eba8241d</id>
<content type='text'>
When calling `git_commit_create` with an empty array of `parents` and `parent_count == 0` 
the call will segfault at https://github.com/libgit2/libgit2/blob/master/src/commit.c#L107 
when it's trying to compare `current_id` to a null parent oid. 

This just puts in a check to stop that segfault.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When calling `git_commit_create` with an empty array of `parents` and `parent_count == 0` 
the call will segfault at https://github.com/libgit2/libgit2/blob/master/src/commit.c#L107 
when it's trying to compare `current_id` to a null parent oid. 

This just puts in a check to stop that segfault.</pre>
</div>
</content>
</entry>
<entry>
<title>rebase: handle no common ancestor for inmemory</title>
<updated>2016-05-03T19:29:50+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@github.com</email>
</author>
<published>2016-05-03T19:29:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=9a363d1b266d24f3641dc1cc2aa14be54dcfa3cf'/>
<id>9a363d1b266d24f3641dc1cc2aa14be54dcfa3cf</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
