diff --git a/pkg/gui/presentation/graph/graph.go b/pkg/gui/presentation/graph/graph.go index 441c91301..ae4401a13 100644 --- a/pkg/gui/presentation/graph/graph.go +++ b/pkg/gui/presentation/graph/graph.go @@ -33,15 +33,6 @@ type Pipe struct { var highlightStyle = style.FgLightWhite.SetBold() -func ContainsCommitHash(pipes []*Pipe, hash string) bool { - for _, pipe := range pipes { - if equalHashes(pipe.fromHash, hash) { - return true - } - } - return false -} - func (self Pipe) left() int { return min(self.fromPos, self.toPos) }