From 52fdf79d65705e8fc7f173d447aa7adbba1fe2fe Mon Sep 17 00:00:00 2001 From: Bel LaPointe <153096461+breel-render@users.noreply.github.com> Date: Tue, 11 Nov 2025 11:16:58 -0700 Subject: [PATCH] after add, stage --- pttodoest/src/main.rs | 3 +++ 1 file changed, 3 insertions(+) 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"); } }