Tidy up git-solo

This commit is contained in:
Martin Frost 2020-05-23 21:04:51 +02:00
parent c69cc0a9bc
commit e64c6d7b74
1 changed files with 4 additions and 6 deletions

View File

@ -6,10 +6,8 @@ fn main() {
let main_author = get_main_author(); let main_author = get_main_author();
println!("{}", main_author); println!("{}", main_author);
with_repo_or_exit(truncate_gitmessage_template); with_repo_or_exit(|repo: Repository| {
} let path = gitmessage_template_file_path(repo);
let _template = File::create(path);
fn truncate_gitmessage_template(repo: Repository) { })
let path = gitmessage_template_file_path(repo);
let _template = File::create(path);
} }