Monday, May 2, 2016

Re: fugitive + git log --graph

2016-04-29 19:24 GMT+0200, Justin M. Keyes <justinkz@gmail.com>:
> On Apr 29, 2016 6:36 AM, "marco restelli" <mrestelli@gmail.com> wrote:
>>
>> 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!
>
> https://github.com/junegunn/gv.vim
>
> exists for that purpose. It is an extension of fugitive.

Very nice, thank you!

Marco

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: