fugitive + git log --graph

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

fugitive + git log --graph

marco restelli
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

--
--
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 [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: fugitive + git log --graph

Justin M. Keyes


On Apr 29, 2016 6:36 AM, "marco restelli" <[hidden email]> 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.

Justin M. Keyes

--
--
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 [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: fugitive + git log --graph

marco restelli
2016-04-29 19:24 GMT+0200, Justin M. Keyes <[hidden email]>:

> On Apr 29, 2016 6:36 AM, "marco restelli" <[hidden email]> 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 [hidden email].
For more options, visit https://groups.google.com/d/optout.