We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e054a9 commit ad7b637Copy full SHA for ad7b637
lua/telescope/_extensions/file_browser/finders.lua
@@ -14,6 +14,7 @@ local finders = require "telescope.finders"
14
15
local scan = require "plenary.scandir"
16
local Path = require "plenary.path"
17
+local Job = require "plenary.job"
18
local os_sep = Path.path.sep
19
20
local fb_finders = {}
@@ -109,7 +110,7 @@ fb_finders.browse_files = function(opts)
109
110
111
local git_file_status = {}
112
if opts.git_status then
- local git_status = fb_utils.job("git", git_args(), opts.path)
113
+ local git_status = Job:new({ cwd = opts.path, command = "git", args = git_args() }):sync()
114
git_file_status = fb_git.parse_status_output(git_status, opts.cwd)
115
end
116
if opts.path ~= os_sep and not opts.hide_parent_dir then
0 commit comments