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