Skip to content

Commit 83617aa

Browse files
committed
Hide all OK entries from final summary, including pulled and cloned
1 parent 231ad35 commit 83617aa

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

gitops/view.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -453,12 +453,13 @@ func (m *gitopsModel) renderProgressBar(width int) string {
453453
return "[" + bar + "]" + counts
454454
}
455455

456-
// noteworthyEntries returns entries that changed or have issues —
457-
// i.e. anything that is not simply "up to date".
456+
// noteworthyEntries returns entries that need attention after a sync —
457+
// failed, skipped (local changes), detached HEAD, or stale branch.
458+
// All goStateOK entries are excluded regardless of detail (pulled, cloned, up to date).
458459
func (m *gitopsModel) noteworthyEntries() []*goEntry {
459460
var out []*goEntry
460461
for _, e := range m.entries {
461-
if e.state == goStateOK && (e.detail == "" || e.detail == "up to date") {
462+
if e.state == goStateOK {
462463
continue
463464
}
464465
out = append(out, e)

0 commit comments

Comments
 (0)