diff options
Diffstat (limited to 'libimagstorestdhook')
-rw-r--r-- | libimagstorestdhook/src/vcs/git/update.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libimagstorestdhook/src/vcs/git/update.rs b/libimagstorestdhook/src/vcs/git/update.rs index 8b0186ec..25ada8a6 100644 --- a/libimagstorestdhook/src/vcs/git/update.rs +++ b/libimagstorestdhook/src/vcs/git/update.rs @@ -121,6 +121,7 @@ impl StoreIdAccessor for UpdateHook { } } + let _ = try!(self.runtime.ensure_cfg_branch_is_checked_out(&action)); let cfg = try!(self.runtime.config_value_or_err(&action)); let repo = try!(self.runtime.repository(&action)); let mut index = try!(fetch_index(repo, &action)); |