git_graph/
lib.rs

1//! Command line tool to show clear git graphs arranged for your branching model.
2
3use git2::Repository;
4use std::path::Path;
5
6pub mod config;
7pub mod graph;
8pub mod print;
9pub mod settings;
10
11pub fn get_repo<P: AsRef<Path>>(path: P) -> Result<Repository, git2::Error> {
12    Repository::discover(path)
13}