summaryrefslogtreecommitdiffstats
path: root/vendor/gix/src/mailmap.rs
blob: 6ea6bcc2d13941b90f46e2aba59dbfc5197e7dd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
pub use gix_mailmap::*;

///
pub mod load {
    /// The error returned by [`crate::Repository::open_mailmap_into()`].
    #[derive(Debug, thiserror::Error)]
    #[allow(missing_docs)]
    pub enum Error {
        #[error("The mailmap file declared in `mailmap.file` could not be read")]
        Io(#[from] std::io::Error),
        #[error("The configured mailmap.blob could not be parsed")]
        BlobSpec(#[from] gix_hash::decode::Error),
        #[error(transparent)]
        PathInterpolate(#[from] gix_config::path::interpolate::Error),
        #[error("Could not find object configured in `mailmap.blob`")]
        FindExisting(#[from] crate::object::find::existing::Error),
    }
}