aboutsummaryrefslogtreecommitdiff
path: root/apps/servers/octopus/src/git.rs
//! Git abstraction module
//!
//! Provide a few utility functions around supergit

use supergit::Repository;

pub(crate) fn open() -> Repository {
    let path = std::env::var("OCTOPUS_REPOSITORY").unwrap();
    trace!("Loading bare git repo {}", path);
    Repository::open(&path).unwrap()
}