fix(git): follow symlinks when resolving a buffer's repo
This commit is contained in:
+1
-1
@@ -92,7 +92,7 @@ M.opt_parsers = {
|
||||
---@param opts ow.Git.LogOpts?
|
||||
function M.open(opts)
|
||||
opts = opts or {}
|
||||
local _, worktree = repo.resolve_cwd()
|
||||
local _, worktree = repo.current_repo()
|
||||
if not worktree then
|
||||
util.warning("not in a git repository")
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user