<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/gitano/libgit2.git/examples/log.c, branch replace-luagit2</title>
<subtitle>git.gitano.org.uk: libgit2.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitano/libgit2.git/'/>
<entry>
<title>examples/log.c: invert filtering impl and conditional</title>
<updated>2014-05-28T15:40:08+00:00</updated>
<author>
<name>Eoin Coffey</name>
<email>ecoffey@gmail.com</email>
</author>
<published>2014-05-28T15:40:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitano/libgit2.git/commit/?id=33bf1b1ab0e14453e67e94dc6aa679dcdcce56e8'/>
<id>33bf1b1ab0e14453e67e94dc6aa679dcdcce56e8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for --grep</title>
<updated>2014-05-23T18:59:19+00:00</updated>
<author>
<name>Eoin Coffey</name>
<email>ecoffey@gmail.com</email>
</author>
<published>2014-05-23T18:59:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitano/libgit2.git/commit/?id=26cce32133363133b479cfd811523270db851466'/>
<id>26cce32133363133b479cfd811523270db851466</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add --committer option, and break out helper function</title>
<updated>2014-05-23T18:27:16+00:00</updated>
<author>
<name>Eoin Coffey</name>
<email>ecoffey@gmail.com</email>
</author>
<published>2014-05-23T18:27:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitano/libgit2.git/commit/?id=161e6dc1cacb724543c81ee0a62ed28742a81190'/>
<id>161e6dc1cacb724543c81ee0a62ed28742a81190</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for --author flag in example log implementation</title>
<updated>2014-05-22T23:22:45+00:00</updated>
<author>
<name>Eoin Coffey</name>
<email>ecoffey@gmail.com</email>
</author>
<published>2014-05-22T22:01:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitano/libgit2.git/commit/?id=97fc71ab3b935df5f32faae13035e40eeb03c07f'/>
<id>97fc71ab3b935df5f32faae13035e40eeb03c07f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace copyright topmatter in example files</title>
<updated>2013-11-02T12:33:26+00:00</updated>
<author>
<name>Ben Straub</name>
<email>bs@github.com</email>
</author>
<published>2013-11-02T12:33:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitano/libgit2.git/commit/?id=6cb831bd5667d934d8947279523cb235b4f8bba4'/>
<id>6cb831bd5667d934d8947279523cb235b4f8bba4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #1916 from libgit2/simplify-examples</title>
<updated>2013-11-01T16:38:34+00:00</updated>
<author>
<name>Vicent Martí</name>
<email>vicent@github.com</email>
</author>
<published>2013-11-01T16:38:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitano/libgit2.git/commit/?id=567649f2ada60e5c3009cc985af238b452b14a81'/>
<id>567649f2ada60e5c3009cc985af238b452b14a81</id>
<content type='text'>
Fix examples to make the important stuff more obvious</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix examples to make the important stuff more obvious</pre>
</div>
</content>
</entry>
<entry>
<title>Format comments for use with docco</title>
<updated>2013-10-31T21:35:32+00:00</updated>
<author>
<name>Ben Straub</name>
<email>bs@github.com</email>
</author>
<published>2013-10-31T21:35:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitano/libgit2.git/commit/?id=85c6730ce86045da0465080b0347fde1fb0f08df'/>
<id>85c6730ce86045da0465080b0347fde1fb0f08df</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use gmtime() instead of gmtime_t()</title>
<updated>2013-10-31T13:03:28+00:00</updated>
<author>
<name>Linquize</name>
<email>linquize@yahoo.com.hk</email>
</author>
<published>2013-10-31T12:58:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitano/libgit2.git/commit/?id=864e72719c9658336aa2a769e4592e8efeb8b4ef'/>
<id>864e72719c9658336aa2a769e4592e8efeb8b4ef</id>
<content type='text'>
The latter is not available on Windows
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The latter is not available on Windows
</pre>
</div>
</content>
</entry>
<entry>
<title>Extract common example helpers and reorg examples</title>
<updated>2013-10-30T01:30:49+00:00</updated>
<author>
<name>Russell Belfer</name>
<email>rb@github.com</email>
</author>
<published>2013-10-30T01:30:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitano/libgit2.git/commit/?id=66902d47737da1100de5e24498cf8c7260b183df'/>
<id>66902d47737da1100de5e24498cf8c7260b183df</id>
<content type='text'>
This reorganizes a few of the examples so that the main function
comes first with the argument parsing extracted into a helper
that can come at the end of the file (so the example focuses more
on the use of libgit2 instead of command line support).  This also
creates a shared examples/common.[ch] so that useful helper funcs
can be shared across examples instead of repeated.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reorganizes a few of the examples so that the main function
comes first with the argument parsing extracted into a helper
that can come at the end of the file (so the example focuses more
on the use of libgit2 instead of command line support).  This also
creates a shared examples/common.[ch] so that useful helper funcs
can be shared across examples instead of repeated.
</pre>
</div>
</content>
</entry>
<entry>
<title>Create git_diff_line and extend git_diff_hunk</title>
<updated>2013-10-21T20:42:42+00:00</updated>
<author>
<name>Russell Belfer</name>
<email>rb@github.com</email>
</author>
<published>2013-10-21T20:42:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitano/libgit2.git/commit/?id=3b5f795446601868d52d09ebac70ae3b7aee157a'/>
<id>3b5f795446601868d52d09ebac70ae3b7aee157a</id>
<content type='text'>
Instead of having functions with so very many parameters to pass
hunk and line data, this takes the existing git_diff_hunk struct
and extends it with more hunk data, plus adds a git_diff_line.
Those structs are used to pass back hunk and line data instead of
the old APIs that took tons of parameters.

Some work that was previously only being done for git_diff_patch
creation (scanning the diff content for exact line counts) is now
done for all callbacks, but the performance difference should not
be noticable.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of having functions with so very many parameters to pass
hunk and line data, this takes the existing git_diff_hunk struct
and extends it with more hunk data, plus adds a git_diff_line.
Those structs are used to pass back hunk and line data instead of
the old APIs that took tons of parameters.

Some work that was previously only being done for git_diff_patch
creation (scanning the diff content for exact line counts) is now
done for all callbacks, but the performance difference should not
be noticable.
</pre>
</div>
</content>
</entry>
</feed>
