1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
pub use git_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] git_hash::decode::Error),
        #[error(transparent)]
        PathInterpolate(#[from] git_config::path::interpolate::Error),
        #[error("Could not find object configured in `mailmap.blob`")]
        FindExisting(#[from] crate::object::find::existing::Error),
    }
}