diff --git a/crates/cli/src/tui/components/history.rs b/crates/cli/src/tui/components/history.rs index 6f42fa7a..1287ddde 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