Revert "Abort the execution of the UpdateHook if repo isnt dirty"
This reverts commit b2a0758b1a
.
This commit is contained in:
parent
e1177717ee
commit
128ed27bb8
1 changed files with 0 additions and 7 deletions
|
@ -126,13 +126,6 @@ impl StoreIdAccessor for UpdateHook {
|
|||
let repo = try!(self.runtime.repository(&action));
|
||||
let mut index = try!(fetch_index(repo, &action));
|
||||
|
||||
if !self.runtime.repo_is_dirty(&index) {
|
||||
debug!("[GIT UPDATE HOOK]: Repository seems to be clean. I'm done.");
|
||||
return Ok(())
|
||||
} else {
|
||||
debug!("[GIT UPDATE HOOK]: Repository seems to be dirty. Continuing.");
|
||||
}
|
||||
|
||||
let signature = try!(
|
||||
repo.signature()
|
||||
.map_err_into(GHEK::MkSignature)
|
||||
|
|
Loading…
Reference in a new issue