fix(diff): correctly relativize paths for diffing current buffer (#108)

This commit is contained in:
Lars Hansen
2026-05-06 09:34:26 +02:00
committed by GitHub
parent a2d194d49e
commit f5d11a3098
5 changed files with 19 additions and 21 deletions
+1 -1
View File
@@ -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