diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2016-09-20 10:27:39 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2016-09-20 10:27:39 +0200 |
commit | 128ed27bb820747c30b6a94cb57be3465cbc3451 (patch) | |
tree | d6d563e7d1bee23265abcd97a66b16fc5681d240 /libimagstorestdhook/src | |
parent | e1177717ee84ce4e21628dbd156a2977597dc89f (diff) |
Revert "Abort the execution of the UpdateHook if repo isnt dirty"
This reverts commit b2a0758b1ad24e0707c40ab375396acdd3a3a325.
Diffstat (limited to 'libimagstorestdhook/src')
-rw-r--r-- | libimagstorestdhook/src/vcs/git/update.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/libimagstorestdhook/src/vcs/git/update.rs b/libimagstorestdhook/src/vcs/git/update.rs index 25ada8a6..3d20a38c 100644 --- a/libimagstorestdhook/src/vcs/git/update.rs +++ b/libimagstorestdhook/src/vcs/git/update.rs @@ -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) |