Revert "Add Runtime::new_committer_sig()"

This reverts commit 883a3392279baddc3a1305874e7c7e92e1d485dc.
This commit is contained in:
Matthias Beyer 2016-07-26 14:36:31 +02:00
parent 81c0a9e170
commit d59b139f23

View file

@ -84,24 +84,6 @@ impl<'a> Runtime<'a> {
.map_err(|mut e| e.with_custom_data(CustomData::default().aborting(false)))
}
pub fn new_committer_sig(&self) -> Option<Result<Signature>> {
self.committer
.as_ref()
.map(|c| {
Signature::now(c.name, c.mail)
.map_err(|e| GHEK::MkSignature.into_error_with_cause(Box::new(e)))
})
}
pub fn new_committer_sig(&self) -> Option<Result<Signature>> {
self.committer
.as_ref()
.map(|c| {
Signature::now(c.name, c.mail)
.map_err(|e| GHEK::MkSignature.into_error_with_cause(Box::new(e)))
})
}
pub fn repository(&self) -> Result<&Repository> {
self.repository.as_ref().ok_or(GHEK::MkRepo.into_error())
}