git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH 08/10] user-manual: add a "counting commits" example
@ 2007-05-14 15:51 Frank Lichtenheld
  2007-05-14 16:03 ` J. Bruce Fields
  0 siblings, 1 reply; 6+ messages in thread
From: Frank Lichtenheld @ 2007-05-14 15:51 UTC (permalink / raw)
  To: J. Bruce Fields; +Cc: Junio C Hamano, git

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.

Gruesse,
-- 
Frank Lichtenheld <frank@lichtenheld.de>
www: http://www.djpig.de/

^ permalink raw reply	[flat|nested] 6+ messages in thread
[parent not found: <11791560893572-git-send-email->]

end of thread, other threads:[~2007-05-14 21:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-14 15:51 [PATCH 08/10] user-manual: add a "counting commits" example Frank Lichtenheld
2007-05-14 16:03 ` J. Bruce Fields
2007-05-14 16:05   ` [PATCH] user-manual: fix branch names in examples J. Bruce Fields
2007-05-14 21:31     ` Junio C Hamano
2007-05-14 21:38       ` J. Bruce Fields
     [not found] <11791560893572-git-send-email->
     [not found] ` <1179156089759-git-send-email->
     [not found]   ` <11791560893022-git-send-email->
     [not found]     ` <11791560891179-git-send-email->
     [not found]       ` <1179156089470-git-send-email->
     [not found]         ` <11791560892667-git-send-email->
     [not found]           ` <11791560901-git-send-email->
2007-05-14 15:21             ` [PATCH 08/10] user-manual: add a "counting commits" example J. Bruce Fields

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).