Merge branch 'fix-choosefile-panic' of https://github.com/phanen/kitty

This commit is contained in:
Kovid Goyal 2025-07-12 22:28:35 +05:30
commit d97b47e8ce
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -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