Skip to content

Commit ad5e33a

Browse files
eshepelyukibhagwan
authored andcommitted
fix: git_bcommits silently fails if file name matches existing tag
1 parent 606d8c2 commit ad5e33a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lua/fzf-lua/defaults.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ M.defaults.git = {
505505
},
506506
bcommits = {
507507
cmd = [[git log --color --pretty=format:"%C(yellow)%h%Creset ]]
508-
.. [[%Cgreen(%><(12)%cr%><|(12))%Creset %s %C(blue)<%an>%Creset" {file}]],
508+
.. [[%Cgreen(%><(12)%cr%><|(12))%Creset %s %C(blue)<%an>%Creset" -- {file}]],
509509
preview = "git show --color {1} -- {file}",
510510
preview_pager = M._preview_pager_fn,
511511
actions = {

0 commit comments

Comments
 (0)