diff --git a/crates/cli/src/tui/components/history.rs b/crates/cli/src/tui/components/history.rs index 6b36f59..6ca3e81 100644 --- a/crates/cli/src/tui/components/history.rs +++ b/crates/cli/src/tui/components/history.rs @@ -66,6 +66,7 @@ impl From for Line<'_> { let mut branches = BRANCHES .captures_iter(&caps["branches"]) .map(|captures| captures["branch"].to_owned()) + .filter(|branch| branch != "HEAD") .collect::>(); if branches.is_empty() { // line without branches