From 74f699c5a173da6464cf02158f0c5255197b68c1 Mon Sep 17 00:00:00 2001 From: Barrett Ruth Date: Sat, 7 Mar 2026 19:46:35 -0500 Subject: [PATCH] feat(utils): require git in `check_required_runtime` --- lua/cp/utils.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lua/cp/utils.lua b/lua/cp/utils.lua index 8325369..1c21f48 100644 --- a/lua/cp/utils.lua +++ b/lua/cp/utils.lua @@ -366,6 +366,10 @@ function M.check_required_runtime() return false, timeout.reason end + if vim.fn.executable('git') ~= 1 then + return false, 'git is required for credential storage' + end + return true end