sindrets/diffview.nvim

[Feature Request] allow to change commit log format in FileHistoryPanel

Open

#438 opened on Nov 17, 2023

View on GitHub
 (2 comments) (0 reactions) (0 assignees)Lua (189 forks)batch import
enhancementhelp wanted

Repository metrics

Stars
 (5,562 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Description

I would like to change the commit log format to only show hash and author. I have tried adding the --pretty flag to the default args for the DiffViewFileHistory but it doesn't work.

default_args {
      DiffviewFileHistory = { "--base=LOCAL" , "--pretty=format..."},
}

Expected behavior

No response

Actual behavior

Log format in the FileHistoryPanel cannot be changed

Contributor guide