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.) 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.
signature.asc
Description: PGP signature