aboutsummaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
authorakbash <akbash@herdr.dev>2026-07-13 17:25:52 +0300
committerGitHub <noreply@github.com>2026-07-13 17:25:52 +0300
commit75ed6abc6258f09af5d4fc995a5004c1abf14fc2 (patch)
tree7dd561becfc189f2dbe6f153d0c870ac913351ae /src/ui
parent6e85ff07f188186edcec8ac0e8263f899c7f1f26 (diff)
fix: reap detached custom command children (#1384)
* fix: reap detached custom command children refs #1360 * test: harden child cleanup and sidebar metrics refs #1360 --------- Co-authored-by: akbash-bot <300245827+akbash-bot@users.noreply.github.com>
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/sidebar.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/sidebar.rs b/src/ui/sidebar.rs
index 18d13b26..cedae025 100644
--- a/src/ui/sidebar.rs
+++ b/src/ui/sidebar.rs
@@ -2067,6 +2067,9 @@ mod tests {
workspace_with_worktree_space("issue", Some("repo-key"), "/repo/herdr-issue"),
Workspace::test_new("notes"),
];
+ for workspace in &mut app.workspaces {
+ workspace.cached_git_branch = Some("main".into());
+ }
app.collapsed_space_keys.insert("repo-key".into());
app.active = None;
app.mode = Mode::Terminal;