From d84189954519d00cc362ce04bba30c8642b3e43f Mon Sep 17 00:00:00 2001 From: Dandaedre Date: Mon, 21 Sep 2026 00:42:18 +0200 Subject: [PATCH] feat: show staged and unstaged status details --- bin_efo/src/commands/state.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin_efo/src/commands/state.rs b/bin_efo/src/commands/state.rs index cf2a072..7d4882f 100644 --- a/bin_efo/src/commands/state.rs +++ b/bin_efo/src/commands/state.rs @@ -107,9 +107,13 @@ pub fn status() -> Result<(), AppError> { ); println!("└─ Next epoch {}", workspace.manifest.next_epoch_id); if workspace.has_staged_changes() { + println!("\nStaged changes"); + print_diff(&workspace.head, &workspace.index.world); println!("Use `efo diff --staged` to review the next commit."); } if workspace.has_unstaged_changes() { + println!("\nUnstaged changes"); + print_diff(&workspace.index.world, &workspace.worktree.world); println!("Use `efo diff` to review edits, then `efo stage ...`."); } Ok(())