aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.rs
blob: 48e8f5d7b489cbf48290e3ba054a7cf915f15726 (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(), &mut std::io::stdout());
}