mirror of
https://github.com/cmderdev/cmder.git
synced 2025-02-24 22:30:23 +08:00
try --no-lock-index for Git
This commit is contained in:
parent
df7beff2ef
commit
bb312ad74b
2
vendor/clink.lua
vendored
2
vendor/clink.lua
vendored
@ -225,7 +225,7 @@ end
|
|||||||
-- @return {bool}
|
-- @return {bool}
|
||||||
---
|
---
|
||||||
function get_git_status()
|
function get_git_status()
|
||||||
for line in io.popen("git status --porcelain 2>nul"):lines() do
|
for line in io.popen("git status --no-lock-index --porcelain 2>nul"):lines() do
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
return true
|
return true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user