diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-05-30 23:58:15 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-05-30 23:58:34 +0300 |
| commit | fc4e1bbf6b0fa2ec37445a5b72356514c7c6be6a (patch) | |
| tree | 93af04af44a4dcc062a7886c51d70641c1903144 /src/app/actions.rs | |
| parent | d477341e6af816ff4396042b084a0378ef437b4a (diff) | |
perf: reduce sidebar git polling overhead
refs #353
Diffstat (limited to 'src/app/actions.rs')
| -rw-r--r-- | src/app/actions.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/app/actions.rs b/src/app/actions.rs index 40c8e74c..981212b1 100644 --- a/src/app/actions.rs +++ b/src/app/actions.rs @@ -2044,8 +2044,12 @@ impl AppState { // Intercepted in App::handle_internal_event before reaching this // dispatch; never touches AppState. AppEvent::ClipboardWrite { .. } => Vec::new(), - AppEvent::GitStatusRefreshed { results } => { + AppEvent::GitStatusRefreshed { + results, + cache_updates, + } => { let _ = results; + let _ = cache_updates; Vec::new() } AppEvent::WorktreeAddFinished(_) => Vec::new(), |
