diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2016-09-17 18:34:02 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2016-09-17 18:41:03 +0200 |
commit | f9ea5c50137c1cffabb4ace99c3a74f7860d8b4a (patch) | |
tree | a78de435a269af8261dcd9ec3c345ac9721a4e8e /libimagrt | |
parent | d90e74518532f33617df7f9d44e3e938c2912ea4 (diff) |
DeleteHook should be executed after the delete action
Diffstat (limited to 'libimagrt')
-rw-r--r-- | libimagrt/src/runtime.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libimagrt/src/runtime.rs b/libimagrt/src/runtime.rs index a942b261..05eb3506 100644 --- a/libimagrt/src/runtime.rs +++ b/libimagrt/src/runtime.rs @@ -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), ]; |