fix: warn for inapplicable git commands
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user