mirror of
https://github.com/zoriya/telescope.nvim.git
synced 2025-12-06 06:46:10 +00:00
fix(bcommits): wrong selection field is used (#2550)
This commit is contained in:
committed by
GitHub
parent
6d3fbffe42
commit
333966610c
@@ -780,7 +780,7 @@ actions.git_checkout_current_buffer = function(prompt_bufnr)
|
||||
return
|
||||
end
|
||||
actions.close(prompt_bufnr)
|
||||
utils.get_os_command_output({ "git", "checkout", selection.value, "--", selection.file }, cwd)
|
||||
utils.get_os_command_output({ "git", "checkout", selection.value, "--", selection.current_file }, cwd)
|
||||
vim.cmd "checktime"
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user