fix(git): add --no-optional-locks to avoid locking git process
Closes #810.
This commit is contained in:
parent
e84828806c
commit
8fd3d276e1
@ -40,7 +40,7 @@ function Runner:_getopts(stdout_handle)
|
||||
local untracked = self.list_untracked and '-u' or nil
|
||||
local ignored = self.list_ignored and '--ignored=matching' or '--ignored=no'
|
||||
return {
|
||||
args = {"status", "--porcelain=v1", ignored, untracked},
|
||||
args = {"--no-optional-locks", "status", "--porcelain=v1", ignored, untracked},
|
||||
cwd = self.project_root,
|
||||
stdio = { nil, stdout_handle, nil },
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user