<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git-todo/t, 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>Remove old files</title>
<updated>2020-10-03T15:51:33+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2020-10-03T15:51:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/git-todo/commit/?id=90969d5e9defcd593c7acc416247cd7a6b04e532'/>
<id>90969d5e9defcd593c7acc416247cd7a6b04e532</id>
<content type='text'>
These files were for ideas and explorations of solutions. We now have a
working implementation independent of them.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These files were for ideas and explorations of solutions. We now have a
working implementation independent of them.
</pre>
</div>
</content>
</entry>
<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: 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: 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>t/100-shows-todo-comments-since-fork-point.t: Update output</title>
<updated>2020-09-15T22:18:26+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2020-09-15T22:18:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/git-todo/commit/?id=e0b78f7f5112bc9c1b5b1e84d5efe65ede63e3d9'/>
<id>e0b78f7f5112bc9c1b5b1e84d5efe65ede63e3d9</id>
<content type='text'>
Update the expectation to include the file name and line number plus the
exact line content as printed by the command.

Remove the extra newline from the output so that now only a single
newline is printed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Update the expectation to include the file name and line number plus the
exact line content as printed by the command.

Remove the extra newline from the output so that now only a single
newline is printed.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add t/101-removed-todo-lines-not-included.t</title>
<updated>2020-09-15T19:25:18+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2020-09-15T19:25:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/git-todo/commit/?id=1e73d3db263c9986ff94a3ef3cf258ed5b8b32e9'/>
<id>1e73d3db263c9986ff94a3ef3cf258ed5b8b32e9</id>
<content type='text'>
Test that removed TODO lines don't appear in the command's output.

This currently gives the following error:

    thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', src/main.rs:39:43
    note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
    thread 'main' panicked at 'Box&lt;Any&gt;', $HOME/.cargo/registry/src/github.com-1ecc6299db9ec823/git2-0.13.11/src/panic.rs:27:9
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Test that removed TODO lines don't appear in the command's output.

This currently gives the following error:

    thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', src/main.rs:39:43
    note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
    thread 'main' panicked at 'Box&lt;Any&gt;', $HOME/.cargo/registry/src/github.com-1ecc6299db9ec823/git2-0.13.11/src/panic.rs:27:9
</pre>
</div>
</content>
</entry>
<entry>
<title>t/100-shows-todo-comments-since-fork-point.t: Fix teardown</title>
<updated>2020-09-15T19:24:08+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2020-09-15T19:24:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/git-todo/commit/?id=efdae5ae6ab68738492c339913d349db01476cbf'/>
<id>efdae5ae6ab68738492c339913d349db01476cbf</id>
<content type='text'>
Need to restore the repo state back to the master branch and remove the
new branch created in this test.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Need to restore the repo state back to the master branch and remove the
new branch created in this test.
</pre>
</div>
</content>
</entry>
<entry>
<title>t/Ideas.txt: Add new test idea</title>
<updated>2020-09-14T22:21:26+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2020-09-14T22:21:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/git-todo/commit/?id=8979dcfa823c8fd49aa2cf48840e99810f29d1ce'/>
<id>8979dcfa823c8fd49aa2cf48840e99810f29d1ce</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>src/main.rs: Print TODO lines between master...workdir</title>
<updated>2020-09-14T22:04:52+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2020-09-14T22:04:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/git-todo/commit/?id=88864a79a0118bd48665c04fd447c5f419a23807'/>
<id>88864a79a0118bd48665c04fd447c5f419a23807</id>
<content type='text'>
Look for TODO lines since the "master" branch. For each TODO line, print
the file it's in, its line number, and the line, à la grep.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Look for TODO lines since the "master" branch. For each TODO line, print
the file it's in, its line number, and the line, à la grep.
</pre>
</div>
</content>
</entry>
<entry>
<title>t/: Add test to get a TODO since the fork point</title>
<updated>2020-09-14T00:03:31+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2020-09-14T00:00:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/git-todo/commit/?id=0f46312aad2e8267574aceb8dfbb14b92248f2dc'/>
<id>0f46312aad2e8267574aceb8dfbb14b92248f2dc</id>
<content type='text'>
In order to include the 'bin.pm' file, we need to add its containing
folder to the include path. Do this by adding a Makefile with the
required command line argument.

Add a new test that modifies the test file to add a new new TODO line.
Test that it comes back in the `git todo` output.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In order to include the 'bin.pm' file, we need to add its containing
folder to the include path. Do this by adding a Makefile with the
required command line argument.

Add a new test that modifies the test file to add a new new TODO line.
Test that it comes back in the `git todo` output.
</pre>
</div>
</content>
</entry>
</feed>
