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

Re: How to compare different files in different branches

From
Ask Bjørn Hansen <ask@develooper.com>
Date
Jun 15, 2008, 01:49 UTC
Message-ID
<3E23E92E-37E7-4076-9277-0E1002EC196F@develooper.com>
In-Reply-To
<7v1w38l0el.fsf@gitster.siamese.dyndns.org>
On Jun 8, 2008, at 2:51, Junio C Hamano wrote:
Show 7 quoted lines
>> Perhaps we should reference git-rev-list(1) from git-diff(1), too?
>
> This is just the standard syntax to name blob _anywhere_, so we  
> should not
> hide it in git-rev-list(1) but somewhere people would read before  
> reading
> any "technical manual" material, perhaps in the tutorial and git(1).

+1! A "how to specify files and revisions" tutorial with tips, tricks and examples would be great.

Since it's much more powerful in git than in other SCMs, this is one of the larger bits of things to learn.

  - ask
-- 
http://develooper.com/ - http://askask.com/
Previous: Junio C HamanoNext: Nico -telmich- Schottelius
Message 8 of 10 in “How to compare different files in different branches”
  1. Nico -telmich- SchotteliusJun 6, 2008
  2. Jonathan del StrotherJun 6, 2008
  3. Jakub NarebskiJun 6, 2008
  4. Jakub NarebskiJun 6, 2008
  5. Teemu LikonenJun 6, 2008
  6. Nico -telmich- SchotteliusJun 8, 2008
  7. Junio C HamanoJun 8, 2008
  8. Ask Bjørn HansenJun 15, 2008
  9. git-svn breaks svn when adding .svnNico -telmich- Schottelius, Jun 16, 2008
  10. Frederik DohrJun 16, 2008

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.