+1
-1
lua/jj-log/init.lua
+1
-1
lua/jj-log/init.lua
···
28
28
29
29
local cmd = { "jj", "log", "-R", repo_root, "-r", "@", "-T", "description", "--no-graph", }
30
30
31
-
vim.system(cmd, { text = true, cwd = vim.fs.dirname(current_file) }, function(obj)
31
+
vim.system(cmd, { text = true, cwd = vim.fs.dirname(repo_root) }, function(obj)
32
32
if obj.code ~= 0 then
33
33
vim.api.nvim_buf_del_var(bufnr, "jj_desc")
34
34
return