diff options
| author | 魏曹先生 <1992414357@qq.com> | 2025-11-24 13:46:20 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2025-11-24 13:46:20 +0800 |
| commit | 0f4fc60358086ab15a5463eb2fabf270589d889d (patch) | |
| tree | 4b648c02889a2c7154e89961e4cc447ea4bad7ac /crates | |
| parent | 891510df9b7c43216185d056a979eb5077570458 (diff) | |
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.
Diffstat (limited to 'crates')
| -rw-r--r-- | crates/vcs_actions/src/actions/local_actions.rs | 3 |
1 files changed, 3 insertions, 0 deletions
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); } |
