Re: [PATCH 08/10] user-manual: add a "counting commits" example

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, May 14, 2007 at 05:51:11PM +0200, Frank Lichtenheld wrote:
> On Mon, May 14, 2007 at 11:21:27AM -0400, J. Bruce Fields wrote:
> > +Suppose you want to know how many commits you've made on "mybranch"
> > +since it diverged from "origin":
> > +
> > +-------------------------------------------------
> > +$ git log --pretty=oneline origin..maint | wc -l
> > +-------------------------------------------------
> 
> Shouldn't that be mybranch instead of maint?
> 
> > +Alternatively you may often see this sort of thing done with the
> > +lower-level command gitlink:git-rev-list[1], which just lists the SHA1's
> > +of all the given commits:
> > +
> > +-------------------------------------------------
> > +$ git rev-list origin..maint | wc -l
> > +-------------------------------------------------
> 
> Same here.

Yep, thanks for the sharp eyes.

--b.
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux