summary refs log tree commit diff
path: root/src/main.rs
blob: 062a448c986727009d63c6ae7b5519c840ace5ac (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: EUPL-1.2
// SPDX-FileCopyrightText: 2021 Alyssa Ross <hi@alyssa.is>

use std::process::exit;

use git2::Repository;

fn main() {
    let repo = match Repository::open_from_env() {
        Ok(repo) => repo,
        Err(e) => {
            eprintln!("fatal: {}", e.message());
            exit(128);
        }
    };
}