fix: warn for inapplicable git commands

This commit is contained in:
2026-05-29 14:29:09 +02:00
parent 193616e87d
commit e6616e260b
5 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -81,7 +81,7 @@ function M.open(opts)
opts = opts or {}
local r = repo.resolve()
if not r then
util.error("not in a git repository")
util.warning("not in a git repository")
return
end