git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Jan HudecNext: Jan Hudec
Message 6 of 12 in “user-manual: Talk about tracking third-party snapshots”
  1. user-manual: Talk about tracking third-party snapshotsMichael Smith, Nov 13, 2007
  2. Jakub NarebskiNov 13, 2007
  3. Sergei OrganovNov 13, 2007
  4. Jakub NarebskiNov 13, 2007
  5. Jan HudecNov 17, 2007
  6. Jakub NarebskiNov 17, 2007
  7. Jan HudecNov 17, 2007
  8. Jakub NarebskiNov 17, 2007
  9. Junio C HamanoNov 13, 2007
  10. Michael SmithNov 13, 2007
  11. J. Bruce FieldsNov 19, 2007
  12. J. Bruce FieldsNov 19, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.