From 49637cb0fd5ccb71d99c48a2e0e9e5be7b9f0e63 Mon Sep 17 00:00:00 2001 From: Martin von Zweigbergk Date: Sun, 15 Oct 2023 07:51:42 -0700 Subject: [PATCH] working copy: don't clear `tree_state_dirty` just before it's dropped --- lib/src/local_working_copy.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/src/local_working_copy.rs b/lib/src/local_working_copy.rs index 59dbe46c5..4c50a3be7 100644 --- a/lib/src/local_working_copy.rs +++ b/lib/src/local_working_copy.rs @@ -1687,7 +1687,6 @@ impl LockedLocalWorkingCopy { self.wc.save(); } // TODO: Clear the "pending_checkout" file here. - self.tree_state_dirty = false; Ok(self.wc) } }