<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git-todo/src, branch v0.0.1</title>
<subtitle>Find recent TODO lines in a Git repository</subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/git-todo/'/>
<entry>
<title>Add license (GNU GPLv3+)</title>
<updated>2020-10-03T15:47:04+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2020-10-03T15:47:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/git-todo/commit/?id=9bf60812f53f47a3c05b9a8412e45d1f633f7f3f'/>
<id>9bf60812f53f47a3c05b9a8412e45d1f633f7f3f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>main.rs: Add version command line option</title>
<updated>2020-09-17T01:51:34+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2020-09-17T01:51:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/git-todo/commit/?id=2abaebd602a528ee86558ee6a20189186499d4f7'/>
<id>2abaebd602a528ee86558ee6a20189186499d4f7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>lib.rs: Add doc comments</title>
<updated>2020-09-17T01:04:45+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2020-09-17T01:04:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/git-todo/commit/?id=be7ba88e7d746936b7bc3ccd0ea83f46937610fe'/>
<id>be7ba88e7d746936b7bc3ccd0ea83f46937610fe</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>main.rs: Error when more than one ref argument is given</title>
<updated>2020-09-17T00:34:00+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2020-09-17T00:34:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/git-todo/commit/?id=e6dee128a2e1cf051fd4f8f2ee810ee0a9a3c7c0'/>
<id>e6dee128a2e1cf051fd4f8f2ee810ee0a9a3c7c0</id>
<content type='text'>
Since it doesn't really make sense to take multiple refs, don't allow
more than one. We can only diff between two trees, and one is fixed as
the workdir.

Also learned that to get an exit code from a `system()` call in Perl,
you have to shift `$?` by 8
(https://perldoc.perl.org/functions/system.html).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since it doesn't really make sense to take multiple refs, don't allow
more than one. We can only diff between two trees, and one is fixed as
the workdir.

Also learned that to get an exit code from a `system()` call in Perl,
you have to shift `$?` by 8
(https://perldoc.perl.org/functions/system.html).
</pre>
</div>
</content>
</entry>
<entry>
<title>main.rs: Add `-h` help flag</title>
<updated>2020-09-17T00:01:17+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2020-09-16T23:58:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/git-todo/commit/?id=664b4d1f0bca4891e06dc7a3cb179bed7a842bb1'/>
<id>664b4d1f0bca4891e06dc7a3cb179bed7a842bb1</id>
<content type='text'>
Print usage information with `-h`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Print usage information with `-h`.
</pre>
</div>
</content>
</entry>
<entry>
<title>main.rs: Fix ref parsing</title>
<updated>2020-09-16T23:33:27+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2020-09-16T23:33:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/git-todo/commit/?id=9e910646a5c60007f10e8ea69a7120d50b4868e7'/>
<id>9e910646a5c60007f10e8ea69a7120d50b4868e7</id>
<content type='text'>
Turns out `refname_to_id()` wasn't the right function to get a
reference/oid/object from a ref name. Use `revparse_single()` instead to
get a usable reference object.

Add a test for custom diff bases.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Turns out `refname_to_id()` wasn't the right function to get a
reference/oid/object from a ref name. Use `revparse_single()` instead to
get a usable reference object.

Add a test for custom diff bases.
</pre>
</div>
</content>
</entry>
<entry>
<title>main.rs: Remove `unwrap()`s and handle errors</title>
<updated>2020-09-16T22:34:44+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2020-09-16T22:34:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/git-todo/commit/?id=0c0072f1cd16850c648bd5ccd694971e4e24f5b4'/>
<id>0c0072f1cd16850c648bd5ccd694971e4e24f5b4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>main.rs: Print errors with prefix</title>
<updated>2020-09-16T22:21:20+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2020-09-16T22:21:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/git-todo/commit/?id=ce270ba827ceb435b021c5055b6796d426ce7bdc'/>
<id>ce270ba827ceb435b021c5055b6796d426ce7bdc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>main.rs: Accept a ref as a command line argument</title>
<updated>2020-09-16T22:04:06+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2020-09-16T22:04:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/git-todo/commit/?id=e7d1bd377a7b43cb2392751dd4e6e954c2bc875b'/>
<id>e7d1bd377a7b43cb2392751dd4e6e954c2bc875b</id>
<content type='text'>
If a ref is given on the command line, use that as the diff base.
Otherwise default to master.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If a ref is given on the command line, use that as the diff base.
Otherwise default to master.
</pre>
</div>
</content>
</entry>
<entry>
<title>write_since(): Clean up `diff.foreach()` callback</title>
<updated>2020-09-16T20:49:19+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2020-09-16T20:49:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/git-todo/commit/?id=9b1e1480f1162b1771d8de14143b2eacb6dffddc'/>
<id>9b1e1480f1162b1771d8de14143b2eacb6dffddc</id>
<content type='text'>
* Remove commented code
* Ignore unused `hunk` variable
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Remove commented code
* Ignore unused `hunk` variable
</pre>
</div>
</content>
</entry>
</feed>
