From 0f4fc60358086ab15a5463eb2fabf270589d889d Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Mon, 24 Nov 2025 13:46:20 +0800 Subject: Fix workspace not marked as modified after successful update When updating to latest info with no sync needed, ensure the workspace is properly marked as unmodified when running local procedures. --- crates/vcs_actions/src/actions/local_actions.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'crates/vcs_actions/src/actions') diff --git a/crates/vcs_actions/src/actions/local_actions.rs b/crates/vcs_actions/src/actions/local_actions.rs index 9bd50c7..85b6d10 100644 --- a/crates/vcs_actions/src/actions/local_actions.rs +++ b/crates/vcs_actions/src/actions/local_actions.rs @@ -398,6 +398,9 @@ pub async fn update_to_latest_info_action( let local_sheet_path = workspace.local_path().join(CLIENT_PATH_LOCAL_SHEET); if !local_sheet_path.exists() || !cached_sheet_path.exists() { // No need to sync + if ctx.is_proc_on_local() { + sign_vault_modified(false).await; + } return Ok(UpdateToLatestInfoResult::Success); } -- cgit