mirror of
https://github.com/zoriya/jj.nvim.git
synced 2026-08-15 23:53:18 +00:00
fix(bookmark): Always move bookmars with -B to allow the user moving
it forward and backwards seemlessly
This commit is contained in:
+1
-1
@@ -787,7 +787,7 @@ function M.handle_log_bookmark()
|
||||
end)
|
||||
else
|
||||
-- Move existing bookmark to the revision
|
||||
local cmd = string.format("jj bookmark move %s --to %s", choice, revset)
|
||||
local cmd = string.format("jj bookmark move %s --to %s -B", choice, revset)
|
||||
runner.execute_command_async(cmd, function()
|
||||
utils.notify(string.format("Moved bookmark `%s` to `%s`", choice, revset), vim.log.levels.INFO)
|
||||
M.log({})
|
||||
|
||||
Reference in New Issue
Block a user