blob: f74325687d56b5ba2e5f4a7bfa3d428cc58f0983 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#![warn(rust_2018_idioms)]
use git2::Repository;
use git_todo::Todos;
fn main() {
let repo = Repository::open(".").unwrap();
let todos = Todos { repo: &repo };
todos.write_since(todos.master_tree().unwrap(), &mut std::io::stdout()).unwrap();
}
|