mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-05-13 16:37:27 +00:00
Merge branch 'fix-choosefile-panic' of https://github.com/phanen/kitty
This commit is contained in:
commit
d97b47e8ce
1 changed files with 2 additions and 2 deletions
|
|
@ -447,8 +447,8 @@ func (fss *FileSystemScorer) Start() {
|
|||
}
|
||||
if fss.global_gitignore != nil {
|
||||
sc.global_gitignore = fss.global_gitignore
|
||||
} else {
|
||||
sc.global_gitignore = ignorefiles.GlobalGitignore()
|
||||
} else if ignore := ignorefiles.GlobalGitignore(); ignore != nil {
|
||||
sc.global_gitignore = ignore
|
||||
}
|
||||
if fss.global_ignore != nil {
|
||||
sc.global_ignore = fss.global_ignore
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue