Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
fix: allow dead code for main_worktree_path on Windows (#390)
Maximilian Roosea0cc4dda967
diff --git a/src/commands/list/model.rs b/src/commands/list/model.rsindex 63a52ce3c..0c27a98d0 100644--- a/src/commands/list/model.rs+++ b/src/commands/list/model.rs@@ -259,6 +259,7 @@ pub struct ListItem {pub struct ListData {pub items: Vec<ListItem>,/// Path to the main worktree, used for computing relative paths in display.+ #[cfg_attr(windows, allow(dead_code))] // Used only by select module (unix-only)pub main_worktree_path: std::path::PathBuf,}