mirror of
https://github.com/zoriya/jj.nvim.git
synced 2026-08-05 02:36:07 +00:00
fix(bookmark): add -r when creating bookmarks to correctly handle revsets
This commit is contained in:
+1
-1
@@ -375,7 +375,7 @@ function M.bookmark_create(opts)
|
||||
default = "@",
|
||||
}, function(revset)
|
||||
revset = revset or "@"
|
||||
local cmd = string.format("jj b c %s %s", input, revset)
|
||||
local cmd = string.format("jj b c %s -r %s", input, revset)
|
||||
runner.execute_command_async(cmd, function()
|
||||
utils.notify(
|
||||
string.format("Bookmark `%s` created successfully for %s", input, revset),
|
||||
|
||||
Reference in New Issue
Block a user