Expand description

Git Interactive Rebase Tool - Configuration Module


This module is used to handle the loading of configuration from the Git config system.

use config::Config;
use git::Repository;
let config = Config::try_from(&Repository::open_from_env().unwrap());

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 should only be used in test code.


Represents the configuration options.

Represents the git configuration options.

Represents the key binding configuration options.

Represents the theme configuration options.


Represents a color.

Configuration option for how to ignore whitespace during diff calculation.

Configuration option for how to show whitespace when displaying diffs.