Re: Confusion about diffing branches
From: Francis Moreau <hidden>
Date: 2016-06-15 22:43:31
Hi ! On 8/27/07, Mike Hommey [off-list ref] wrote:
On Mon, Aug 27, 2007 at 12:07:39AM -0700, Junio C Hamano [off-list ref] wrote:quoted
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