Age | Commit message (Collapse) | Author |
|
Instead of always printing to standard output, have the function take a
writer to write the output to.
|
|
Move this to a library function for better organisation. This will
facilitate splitting up and refining `write_since()`, and free up
`main()` for command line argument parsing.
|
|
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.
|
|
The `new_lineno()` is `None` when the line was removed. Ignoring removed
lines allows us to leave out removed TODOs.
|
|
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
|