<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/gitano/libgit2.git/tests-clar/notes, branch fixups</title>
<subtitle>git.gitano.org.uk: libgit2.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitano/libgit2.git/'/>
<entry>
<title>Update iterators for consistency across library</title>
<updated>2012-08-04T00:08:01+00:00</updated>
<author>
<name>Russell Belfer</name>
<email>rb@github.com</email>
</author>
<published>2012-08-04T00:08:01+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitano/libgit2.git/commit/?id=5dca201072724e4230141796d7c9f8836a277de8'/>
<id>5dca201072724e4230141796d7c9f8836a277de8</id>
<content type='text'>
This updates all the `foreach()` type functions across the library
that take callbacks from the user to have a consistent behavior.
The rules are:

* A callback terminates the loop by returning any non-zero value
* Once the callback returns non-zero, it will not be called again
  (i.e. the loop stops all iteration regardless of state)
* If the callback returns non-zero, the parent fn returns GIT_EUSER
* Although the parent returns GIT_EUSER, no error will be set in
  the library and `giterr_last()` will return NULL if called.

This commit makes those changes across the library and adds tests
for most of the iteration APIs to make sure that they follow the
above rules.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This updates all the `foreach()` type functions across the library
that take callbacks from the user to have a consistent behavior.
The rules are:

* A callback terminates the loop by returning any non-zero value
* Once the callback returns non-zero, it will not be called again
  (i.e. the loop stops all iteration regardless of state)
* If the callback returns non-zero, the parent fn returns GIT_EUSER
* Although the parent returns GIT_EUSER, no error will be set in
  the library and `giterr_last()` will return NULL if called.

This commit makes those changes across the library and adds tests
for most of the iteration APIs to make sure that they follow the
above rules.
</pre>
</div>
</content>
</entry>
<entry>
<title>notes: fix memory leaks</title>
<updated>2012-06-21T08:33:24+00:00</updated>
<author>
<name>Michael Schubert</name>
<email>schu@schu.io</email>
</author>
<published>2012-06-20T16:06:37+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitano/libgit2.git/commit/?id=dca6b228d1725ce9ce7b940a172770f0e58b76cd'/>
<id>dca6b228d1725ce9ce7b940a172770f0e58b76cd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>notes: simplify tests</title>
<updated>2012-06-12T12:30:33+00:00</updated>
<author>
<name>yorah</name>
<email>yoram.harmelin@gmail.com</email>
</author>
<published>2012-06-06T14:41:42+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitano/libgit2.git/commit/?id=027d77ee5c3e9ac859ceac986ceb215da388b28e'/>
<id>027d77ee5c3e9ac859ceac986ceb215da388b28e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>notes: simplify the handling of fanouts</title>
<updated>2012-06-08T18:34:24+00:00</updated>
<author>
<name>yorah</name>
<email>yoram.harmelin@gmail.com</email>
</author>
<published>2012-05-29T15:53:29+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitano/libgit2.git/commit/?id=a02e7249784d8aa8c7c89329c4ec68a54ccab92c'/>
<id>a02e7249784d8aa8c7c89329c4ec68a54ccab92c</id>
<content type='text'>
 - Do not create new levels of fanout when creating notes from libgit2
 - Insert a note in an existing matching fanout
 - Remove a note from an existing fanout
 - Cleanup git_note_read, git_note_remove, git_note_foreach, git_note_create methods in order use tree structures instead of tree_oids
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 - Do not create new levels of fanout when creating notes from libgit2
 - Insert a note in an existing matching fanout
 - Remove a note from an existing fanout
 - Cleanup git_note_read, git_note_remove, git_note_foreach, git_note_create methods in order use tree structures instead of tree_oids
</pre>
</div>
</content>
</entry>
<entry>
<title>notes: add failing test</title>
<updated>2012-06-07T22:17:09+00:00</updated>
<author>
<name>yorah</name>
<email>yoram.harmelin@gmail.com</email>
</author>
<published>2012-05-10T13:32:52+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitano/libgit2.git/commit/?id=3a0d1e12db28d685c9b898c52a574a7d76beff00'/>
<id>3a0d1e12db28d685c9b898c52a574a7d76beff00</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>notes: make git_note_foreach() callback signature easier to cope with from a binding perspective</title>
<updated>2012-05-16T19:51:45+00:00</updated>
<author>
<name>nulltoken</name>
<email>emeric.fermas@gmail.com</email>
</author>
<published>2012-05-16T19:21:24+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitano/libgit2.git/commit/?id=ee7680d53b7328020576813914ac739b66bb8f8d'/>
<id>ee7680d53b7328020576813914ac739b66bb8f8d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix compilation warnings</title>
<updated>2012-05-14T20:24:58+00:00</updated>
<author>
<name>nulltoken</name>
<email>emeric.fermas@gmail.com</email>
</author>
<published>2012-05-14T20:24:58+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitano/libgit2.git/commit/?id=d5ed6348c7c2a37e57a153fc685e4a8c931da006'/>
<id>d5ed6348c7c2a37e57a153fc685e4a8c931da006</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>notes: add git_notes_foreach()</title>
<updated>2012-05-14T20:07:42+00:00</updated>
<author>
<name>nulltoken</name>
<email>emeric.fermas@gmail.com</email>
</author>
<published>2012-05-08T15:58:40+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitano/libgit2.git/commit/?id=86ecd84427b96595338d510346e7e01bf29d4266'/>
<id>86ecd84427b96595338d510346e7e01bf29d4266</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>notes: add git_note_default_ref()</title>
<updated>2012-05-03T20:31:29+00:00</updated>
<author>
<name>Michael Schubert</name>
<email>schu@schu.io</email>
</author>
<published>2012-04-30T12:29:34+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitano/libgit2.git/commit/?id=630c5a4a54bca28687f1c42117f830720f822fa6'/>
<id>630c5a4a54bca28687f1c42117f830720f822fa6</id>
<content type='text'>
Add git_note_default_ref to allow easy retrieval of the currently set
default notes reference.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add git_note_default_ref to allow easy retrieval of the currently set
default notes reference.
</pre>
</div>
</content>
</entry>
<entry>
<title>notes: honor core.notesRef</title>
<updated>2012-05-03T20:31:29+00:00</updated>
<author>
<name>Michael Schubert</name>
<email>schu@schu.io</email>
</author>
<published>2012-04-29T16:42:42+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitano/libgit2.git/commit/?id=caea5e543379c053de5eec45b8f5a0e83c07e3fe'/>
<id>caea5e543379c053de5eec45b8f5a0e83c07e3fe</id>
<content type='text'>
Setting core.notesRef allows to change the default notes reference used
by Git. Check if set before using GIT_NOTES_DEFAULT_REF. Fixes #649.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Setting core.notesRef allows to change the default notes reference used
by Git. Check if set before using GIT_NOTES_DEFAULT_REF. Fixes #649.
</pre>
</div>
</content>
</entry>
</feed>
