2017-10-30 16:51 GMT+03:00 Marius Gedminas <mar...@gedmin.as>:
> On Sat, Oct 28, 2017 at 02:50:48AM +0200, Tony Mechelynck wrote:
>> On Thu, Oct 26, 2017 at 7:19 PM, tooth pik <toothp...@gmail.com> wrote:
>> > you don't use git?
>> >
>> No I don't, not for Vim anyway. Somehow I understand Mercurial but not
>> git, so given a choice between them I always choose Mercurial. (For
>> instance, does git have a specific function to list incoming
>> changesets, other than "git pull --dry-run"? I like the "log-style"
>> format of "hg incoming".)
>
> I've a git alias `incoming` for this:
>
>   # ~/.gitconfig
>   [alias]
>   incoming = !git fetch && git log --oneline ..@{u}
>
> (I do not remember what the format of `hg incoming` is.)

`hg incoming` has exactly the same format as `hg log`, including
ability to use `--template`. But it does not save anything and it
works with whatever branch(es) you need. I would say that it would be
hard to have yours `incoming` or `new` if you want to get more then
one branch with one command, and configuring git to pull in all
branches from remote at once is normally the first thing I do.

>
> I also have another git alias, `new`, that shows me the contents of the
> last pull after I've done it:
>
>   new = !sh -c 'git log $1@{1}..$1@{0} "$@"'
>
> Regards,
> Marius Gedminas
> --
> /*
>  * This function is about (re)setting the class of a held lock,
>  * yet we're not actually holding any locks. Naughty user!
>  */
>
> --
> --
> You received this message from the "vim_dev" 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_dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to vim_dev+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
-- 
You received this message from the "vim_dev" 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_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui