diff --git a/pttodoest/src/main.rs b/pttodoest/src/main.rs index c346d77..0ccbd57 100755 --- a/pttodoest/src/main.rs +++ b/pttodoest/src/main.rs @@ -24,6 +24,9 @@ fn main() { files.files[0] .append(Delta::now(patch)) .expect("failed to add"); + files.files[0] + .stage_persisted() + .expect("failed to stage added"); } }