summaryrefslogtreecommitdiff
path: root/lua/telescope/make_entry.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/telescope/make_entry.lua')
-rw-r--r--lua/telescope/make_entry.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/lua/telescope/make_entry.lua b/lua/telescope/make_entry.lua
index 9c3ab14..288a471 100644
--- a/lua/telescope/make_entry.lua
+++ b/lua/telescope/make_entry.lua
@@ -248,8 +248,7 @@ function make_entry.gen_from_git_stash()
end
end
-
-function make_entry.gen_from_git_commits()
+function make_entry.gen_from_git_commits(opts)
local displayer = entry_display.create {
separator = " ",
items = {
@@ -281,7 +280,8 @@ function make_entry.gen_from_git_commits()
value = sha,
ordinal = sha .. ' ' .. msg,
msg = msg,
- display = make_display
+ display = make_display,
+ current_file = opts.current_file
}
end
end