DeleteHook should be executed after the delete action

This commit is contained in:
Matthias Beyer 2016-09-17 18:34:02 +02:00
parent d90e745185
commit f9ea5c5013
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ impl<'a> Runtime<'a> {
let sp = storepath;
let hooks : Vec<(Box<Hook>, &str, HP)> = vec![
(Box::new(GitDeleteHook::new(sp.clone(), HP::PreDelete)) , "vcs", HP::PreDelete),
(Box::new(GitDeleteHook::new(sp.clone(), HP::PostDelete)) , "vcs", HP::PostDelete),
(Box::new(GitUpdateHook::new(sp, HP::PostUpdate)) , "vcs", HP::PostUpdate),
];