From 7bc6dc5cf37486190b05f17e8abdd0827d4bd2f6 Mon Sep 17 00:00:00 2001 From: Jesse Duffield Date: Mon, 5 Apr 2021 13:07:44 +1000 Subject: show branches context when starting in filtering mode --- pkg/gui/modes/filtering/filtering.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkg/gui/modes') diff --git a/pkg/gui/modes/filtering/filtering.go b/pkg/gui/modes/filtering/filtering.go index da6c97a90..010a04993 100644 --- a/pkg/gui/modes/filtering/filtering.go +++ b/pkg/gui/modes/filtering/filtering.go @@ -4,8 +4,8 @@ type Filtering struct { path string // the filename that gets passed to git log } -func NewFiltering() Filtering { - return Filtering{path: ""} +func NewFiltering(path string) Filtering { + return Filtering{path: path} } func (m *Filtering) Active() bool { -- cgit v1.2.3