Age | Commit message (Collapse) | Author |
|
The `new_lineno()` is `None` when the line was removed. Ignoring removed
lines allows us to leave out removed TODOs.
|
|
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<Any>', $HOME/.cargo/registry/src/github.com-1ecc6299db9ec823/git2-0.13.11/src/panic.rs:27:9
|
|
Need to restore the repo state back to the master branch and remove the
new branch created in this test.
|
|
|
|
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.
|
|
With the following command:
$ cargo init --bin
|
|
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.
|
|
Copied with alterations from git-branch-list.
|
|
The goal will be to list all TODOs since the branch point. Additionally,
there should be an option to print the TODOs with file names and line
numbers to enable loading the list into Vim's quickfix list.
|