Re: [PATCH] user-manual: Talk about tracking third-party snapshots
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Nov 17, 2007, 18:18 UTC
- Message-ID
- <200711171918.40981.jnareb@gmail.com>
- In-Reply-To
- <20071117164501.GB5198@efreet.light.src>
On Sat, Nov 17, 2007, Jan Hudec wrote:
Show 9 quoted lines
> On Tue, Nov 13, 2007 at 15:07:05 +0100, Jakub Narebski wrote: >> Michael Smith wrote: >> >>> +You can use the gitlink:git-cherry[1] command to display the commit >>> +IDs that are only present on your local branch, or only on the remote >>> +branch, respectively: >> >> I think git-cherry is deprecated in favor of "git log --left-right" (with >> appropriate format, for example '--abbrev-commit --pretty=oneline')
Not true. git-cherry is more than --left-right, as it checks if changesets matches, not if commit id matches.
Show 6 quoted lines
> git log has such option? > > $ man git-log | grep -e --left-right; echo $? > 1 > $ git --version > git version 1.5.3.5
It has, although it is hidden in git-rev-list(1) manpage. It is a bit obscure corner...
-- Jakub Narebski Poland