mirror of
https://github.com/cmderdev/cmder.git
synced 2024-11-10 17:59:11 +08:00
git should no longer require extra file closing after the recent changes
This commit is contained in:
parent
b88a01822f
commit
5e703796c9
3
vendor/clink.lua
vendored
3
vendor/clink.lua
vendored
@ -210,10 +210,9 @@ end
|
||||
local function get_git_status()
|
||||
local file = io.popen("git --no-optional-locks status --porcelain 2>nul")
|
||||
for line in file:lines() do
|
||||
file:close()
|
||||
return false
|
||||
end
|
||||
file:close()
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user