Re: Confusion about diffing branches
- From
Mike Hommey <mh@glandium.org>
- Date
- Aug 27, 2007, 06:25 UTC
- Message-ID
- <20070827062508.GA9002@glandium.org>
- In-Reply-To
- <20070827014056.GB7422@mediacenter.austin.rr.com>
On Sun, Aug 26, 2007 at 08:40:56PM -0500, Shawn Bohrer <shawn.bohrer@gmail.com> wrote:
Show 10 quoted lines
> So if I understand you correctly people in the git world are simply more > used to typing two dots (instead of three) so that is why the two dot > notation shows the more common use case (show me the difference between > the tip of the master branch and the tip of the topic branch). > > I must admit that for me, a new git user, it would be much more > intuitive if all git commands used the same syntax for specifying > revisions. After all every other git command that I have used so far > uses the opposite syntax as git-diff. This includes git-log, > git-format-patch, gitk, git-rev-list, and git-rev-parse.
Similar experience here. It is even more a problem for newcomers when you consider it isn't documented in either git-rev-parse or git-diff manual pages.
Mike