Subject: Re: Checking for fast-forward

From: Florian Mickler <[email-masked]>
Date: Tue, 7 Jul 2009 12:46:57 +0200

On Tue, 07 Jul 2009 10:21:40 +0200
Michael J Gruber <[email-masked]> wrote:

> If $(git rev-list bar..remotes/origin/foo) is empty then the branch
> foo in the remote repo can be fast-forwarded to bar.
> 
> Chhers,
> Michael

in that case you could also do 
'git cherry bar origin/foo'

that shows you all commits that are in origin/foo but not in bar. 

Sincerely,
Florian