pub fn resolve_history(
existing: Option<History>,
current: &EditProject,
) -> HistoryExpand description
Reuse the existing edit history if it belongs to current (same source
clip), otherwise start fresh. A different source path means a different
clip was opened, so the old undo stack no longer applies. Pure.