rbong / vim-flog

A blazingly fast, stunningly beautiful, exceptionally powerful git branch viewer for Vim/Neovim.
750 stars 22 forks source link

Flog -path=% with git-forest look extreme terrible. #69

Closed kevinhwang91 closed 2 years ago

kevinhwang91 commented 2 years ago

image

rbong commented 2 years ago

Flog has no control over how git-forest draws the commit graph when opened with files. I would open an issue here, I may look into it as well.

rbong commented 2 years ago

You can fix this by enabling parent rewriting.

Look for this line in your git-forest script:

my($fh, $fhc) = $Repo->command_output_pipe("log", "--date-order",

Add the --parents option:

my($fh, $fhc) = $Repo->command_output_pipe("log", "--parents", "--date-order",

You can also wait for this PR to get in if you use this repo.

Details here and here.