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

Re: Q: "git diff" using tag names

From
Alexey Shumkin <alex.crezoff@gmail.com>
Date
Nov 2, 2011, 20:08 UTC
Message-ID
<20111103000846.784cba29@zappedws>
In-Reply-To
<7vty6mkgsg.fsf@alter.siamese.dyndns.org>
Oh, I see
Show 13 quoted lines
> Alexey Shumkin <alex.crezoff@gmail.com> writes:
> 
> >> Also it seems that both syntaxes work:
> >> git diff v0.4..v0.5
> >> git diff v0.4 v0.5
> > honestly, I do not know the difference (at the moment :))
> > may be gurus or manual will help to discover it
> 
> The latter is the kosher version, as diff is about two "endpoints"
> and not about "ranges". The only reason the former is parsed without
> erroring out is because too many people are used to type .. between
> two things without thinking, learned the notation from "git log",
> which _is_ about ranges.
Previous: Junio C HamanoNext: Jakub Narebski
Message 8 of 10 in “Q: "git diff" using tag names”
  1. Ulrich WindlOct 28, 2011
  2. Alexey ShumkinOct 28, 2011
  3. Antw: Re: Q: "git diff" using tag namesUlrich Windl, Nov 2, 2011
  4. Alexey ShumkinNov 2, 2011
  5. Frans KlaverNov 2, 2011
  6. Alexey ShumkinNov 2, 2011
  7. Junio C HamanoNov 2, 2011
  8. Alexey ShumkinNov 2, 2011
  9. Jakub NarebskiOct 28, 2011
  10. Antw: Re: Q: "git diff" using tag namesUlrich Windl, Nov 2, 2011

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.