mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-11 12:25:47 +02:00
Use searching, not filtering, in file tree views
There's more work to be done to support filtering for these views so we're sticking with searching for now
This commit is contained in:
parent
cd989d8ebe
commit
8e46b8a275
7 changed files with 33 additions and 55 deletions
|
@ -83,7 +83,7 @@ func (self *SwitchToDiffFilesController) viewFiles(opts SwitchToCommitFilesConte
|
|||
diffFilesContext.SetCanRebase(opts.CanRebase)
|
||||
diffFilesContext.SetParentContext(opts.Context)
|
||||
diffFilesContext.SetWindowName(opts.Context.GetWindowName())
|
||||
diffFilesContext.ClearFilter()
|
||||
diffFilesContext.ClearSearchString()
|
||||
|
||||
if err := self.c.Refresh(types.RefreshOptions{
|
||||
Scope: []types.RefreshableView{types.COMMIT_FILES},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue