fugitive + git log --graph

986 views
Skip to first unread message

marco restelli

unread,
Apr 29, 2016, 6:36:54 AM4/29/16
to vim...@googlegroups.com
Dear all,
using the fugitive plugin (https://github.com/tpope/vim-fugitive)
is there a way to work on the graph of the repository history, as
shown by "git log --graph" ?

Ideally, I would like to have the output of

git log --graph --full-history --all --color
--pretty=format:"%x1b[31m%h%x09%x1b[32m%d%x1b[0m%x20%s"

in the quickfix list, as done by :Glog, so that I could easily see
which commit is in which branch.

Anyway, any other suggestion on combining fugitive with --graph is
very welcome!

Thank you,
Marco

Justin M. Keyes

unread,
Apr 29, 2016, 1:24:40 PM4/29/16
to vim_use

https://github.com/junegunn/gv.vim

exists for that purpose. It is an extension of fugitive.

Justin M. Keyes

marco restelli

unread,
May 2, 2016, 4:49:44 AM5/2/16
to vim...@googlegroups.com
2016-04-29 19:24 GMT+0200, Justin M. Keyes <just...@gmail.com>:
Very nice, thank you!

Marco
Reply all
Reply to author
Forward
0 new messages