[Feature Request] allow to change commit log format in FileHistoryPanel
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
The --pretty flag is completely unrelated to how info is actually rendered in the plugin panels. We rely on a very specific format internally such that we can parse the log info efficiently.
Allowing customization of the rendered format is possible, but low priority.
If someone wants to work on this just let me know. I can give info about relevant parts of the code, and we can discuss implementation.
Hi @sindrets I opened #441 for this