diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2021-04-05 13:07:44 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2021-04-06 19:34:32 +1000 |
commit | 7bc6dc5cf37486190b05f17e8abdd0827d4bd2f6 (patch) | |
tree | 4cc3bef71464465a1cc2b55e44da17fa1c40e316 /pkg/gui/modes | |
parent | ee7b634dced182e76ab83f9d025001f506e6b59e (diff) |
show branches context when starting in filtering mode
Diffstat (limited to 'pkg/gui/modes')
-rw-r--r-- | pkg/gui/modes/filtering/filtering.go | 4 |
1 files changed, 2 insertions, 2 deletions
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 { |