mirror of
https://github.com/zoriya/jj.nvim.git
synced 2026-08-05 18:56:13 +00:00
fix(diff): correctly relativize paths for diffing current buffer (#108)
This commit is contained in:
+1
-1
@@ -29,7 +29,7 @@ local function get_annotate_target()
|
||||
return nil, nil, "Invalid jj:// buffer name"
|
||||
end
|
||||
|
||||
local normalized, err = utils.normalize_repo_path(filename)
|
||||
local normalized, err = utils.normalize_relative_path(filename)
|
||||
if not normalized then
|
||||
return nil, nil, err or "Could not normalize file path"
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user