3 releases (stable)

2.3.0 Jul 19, 2023
2.2.0 Apr 29, 2022
0.1.0 Oct 11, 2021

#887 in Command-line interface

39 downloads per month
Used in 5 crates (2 directly)

GPL-3.0-or-later

105KB
3K SLoC

GIRT Git Crate

This crate is part of the larger Git Interactive Rebase Tool. The version is pinned to the root project, and this crate does not follow SemVer.


lib.rs:

Git Interactive Rebase Tool - Git Module

Description

This module is used to handle working with external Git systems.

use git::Repository;
let repository = Repository::open_from_env().unwrap();

let config = repository.load_config().unwrap();
let pager = config.get_str("core.pager");

Test Utilities

To facilitate testing the usages of this crate, a set of testing utilities are provided. Since these utilities are not tested, and often are optimized for developer experience than performance, they should only be used in test code.

Dependencies

~11–21MB
~380K SLoC