summaryrefslogtreecommitdiff
path: root/lua/telescope/builtin/git.lua
diff options
context:
space:
mode:
authoranott03 <amitav_nott@ryecountryday.org>2021-01-27 11:22:11 -0500
committerGitHub <noreply@github.com>2021-01-27 17:22:11 +0100
commit5995a8be8faaa2c6e8693ca52f2320cb4a80e3fa (patch)
treea3fe0a4f64074a1834df3b80e1445cb725b9fdb1 /lua/telescope/builtin/git.lua
parentccbb7f56384921a81813f0f9ebc85cdba0b7c255 (diff)
Undo #465 (#469)
We have broke all extension that do some sort of goto_file_selection:replace Problem described here: https://github.com/nvim-telescope/telescope.nvim/pull/465#issuecomment-767831897 Possible solution: https://github.com/nvim-telescope/telescope.nvim/pull/465#issuecomment-767808213
Diffstat (limited to 'lua/telescope/builtin/git.lua')
-rw-r--r--lua/telescope/builtin/git.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/lua/telescope/builtin/git.lua b/lua/telescope/builtin/git.lua
index 2374a5d..a33e76b 100644
--- a/lua/telescope/builtin/git.lua
+++ b/lua/telescope/builtin/git.lua
@@ -47,7 +47,7 @@ git.commits = function(opts)
previewer = previewers.git_commit_diff.new(opts),
sorter = conf.file_sorter(opts),
attach_mappings = function()
- actions.select:replace(actions.git_checkout)
+ actions.goto_file_selection_edit:replace(actions.git_checkout)
return true
end
}):find()
@@ -67,7 +67,7 @@ git.bcommits = function(opts)
previewer = previewers.git_commit_diff.new(opts),
sorter = conf.file_sorter(opts),
attach_mappings = function()
- actions.select:replace(actions.git_checkout)
+ actions.goto_file_selection_edit:replace(actions.git_checkout)
return true
end
}):find()
@@ -107,7 +107,7 @@ git.branches = function(opts)
previewer = previewers.git_branch_log.new(opts),
sorter = conf.file_sorter(opts),
attach_mappings = function()
- actions.select:replace(actions.git_checkout)
+ actions.goto_file_selection_edit:replace(actions.git_checkout)
return true
end
}):find()