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(())