git should no longer require extra file closing after the recent changes

This commit is contained in:
Benjamin Staneck 2018-01-08 15:40:34 +01:00
parent b88a01822f
commit 5e703796c9

3
vendor/clink.lua vendored
View File

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