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
@@ -465,7 +465,7 @@ end
function M.run(args, opts)
local r = repo.resolve()
if not r then
util.error("not in a git repository")
util.warning("not in a git repository")
return
end