git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Francis Moreau <francis.moro@gmail.com>
To: git@vger.kernel.org
Subject: Question about git-cherry and the rev list it's using
Date: Wed, 11 May 2011 18:11:23 +0200	[thread overview]
Message-ID: <BANLkTinMfVE=s+TouyxE-ucf7MHGf1m7HA@mail.gmail.com> (raw)

Hello,

I'm using "git cherry old master base" to see if all commits between
master and base have been applied in my 'old' branch.

So I expect that git cherry is using a list of commits given by : "git
rev-list --no-merges base..master".

But it looks like it's not the case:

  $ git rev-list --no-merges --oneline base..master | wc -l
  22

  $ git cherry old master base | wc -l
  12

Could anybody help me on this because I don't understand the results I have ?

Thanks
-- 
Francis

             reply	other threads:[~2011-05-11 16:11 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-11 16:11 Francis Moreau [this message]
2011-05-12  6:47 ` Question about git-cherry and the rev list it's using Michael J Gruber
2011-05-13  6:54   ` Francis Moreau
2011-05-13  7:02     ` Francis Moreau
2011-05-13 11:13       ` Michael J Gruber
2011-05-13 16:29         ` Francis Moreau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='BANLkTinMfVE=s+TouyxE-ucf7MHGf1m7HA@mail.gmail.com' \
    --to=francis.moro@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).