mirror of
https://github.com/cmderdev/cmder.git
synced 2025-02-10 23:49:07 +08:00
fix
This commit is contained in:
parent
ddec3e8425
commit
0cf1c5e2eb
2
vendor/clink.lua
vendored
2
vendor/clink.lua
vendored
@ -285,7 +285,7 @@ end
|
|||||||
-- @return {bool}
|
-- @return {bool}
|
||||||
---
|
---
|
||||||
local function get_git_status_setting()
|
local function get_git_status_setting()
|
||||||
gitStatusSetting = io.popen("git --no-pager config -l")
|
gitStatusSetting = io.popen("git --no-pager config -l 2>nul")
|
||||||
|
|
||||||
for line in gitStatusSetting:lines() do
|
for line in gitStatusSetting:lines() do
|
||||||
if string.match(line, 'cmder.status=false') or string.match(line, 'cmder.cmdstatus=false') then
|
if string.match(line, 'cmder.status=false') or string.match(line, 'cmder.cmdstatus=false') then
|
||||||
|
Loading…
Reference in New Issue
Block a user