Skip to content

Commit 6cf5431

Browse files
committed
fix: fix log key binding in branch windows
1 parent ab848e2 commit 6cf5431

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lua/git/ui/branch.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ local function view_log_of_branch()
120120
end
121121
end
122122

123-
local function view_log_of_branch()
123+
local function view_diff_of_branch()
124124
local remote_line = vim.fn.search('^r:', 'bnW')
125125
if remote_line == 0 then
126126
local line = vim.fn.getline('.')
@@ -163,7 +163,7 @@ function M.open()
163163
callback = view_log_of_branch,
164164
})
165165
vim.api.nvim_buf_set_keymap(branch_manager_bufnr, 'n', 'f', '', {
166-
callback = view_log_of_branch,
166+
callback = view_diff_of_branch,
167167
})
168168
end
169169

0 commit comments

Comments
 (0)