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

Re: Confusion about diffing branches

From
FMFrancis Moreau <francis.moro@gmail.com>
Date
Aug 27, 2007, 13:21 UTC
Message-ID
<38b2ab8a0708270621l63f3da56j4667014e62a5de92@mail.gmail.com>
In-Reply-To
<20070827075009.GA31438@glandium.org>
Hi !
On 8/27/07, Mike Hommey <mh@glandium.org> wrote:
Show 12 quoted lines
> On Mon, Aug 27, 2007 at 12:07:39AM -0700, Junio C Hamano <gitster@pobox.com> wrote:
> > Both semantics of two-dot form and three-dot form are useful,
> > and choice between the two depends on what you want out of the
> > command.  You just need to know which one you want.
>
> The problem is not about usefulness of these 2 forms, but consistency
> with the rest of the tools.
> If I go git log a..b, I won't get the set of commits involved in
> git diff a..b. In fact, git log a...b does. And git log a..b gives the
> commits involved in git diff a...b. Confusing, isn't it ?
> Moreover, this inconsistency isn't even documented in the manual pages.
>

This "inconsistency" had already been raised before. Please refer to: http://www.gelato.unsw.edu.au/archives/git/0612/35354.html

I shared and still share your feeling about that but it seems that Junio and Linus don't...

good luck ;)
-- 
Francis
Previous: Mike HommeyNext: Mike Hommey
Message 7 of 14 in “Confusion about diffing branches”
  1. Shawn BohrerAug 26, 2007
  2. Junio C HamanoAug 27, 2007
  3. Shawn BohrerAug 27, 2007
  4. Mike HommeyAug 27, 2007
  5. Junio C HamanoAug 27, 2007
  6. Mike HommeyAug 27, 2007
  7. Francis MoreauAug 27, 2007
  8. Mike HommeyAug 27, 2007
  9. Junio C HamanoAug 27, 2007
  10. Mike HommeyAug 27, 2007
  11. Theodore TsoAug 27, 2007
  12. Junio C HamanoAug 27, 2007
  13. Theodore TsoAug 27, 2007
  14. Jakub NarebskiAug 27, 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.