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

Re: Git packaging workflow discussion on planet.d.o



On Sat, 2013-04-06 at 04:40:00 +0800, Thomas Goirand wrote:
> On 04/05/2013 06:57 PM, Guillem Jover wrote:
> > A better way to write the above could be:
> >
> > gen-author-list:
> > 	git shortlog -nes | tr -s ' '| cut -f2-
> >
> > which in addition will fix up the authors using any .mailmap rules.

> Though your version doesn't sort authors by the numbers of commits.

,---
usage: git shortlog [-n] [-s] [-e] [-w] [rev-opts] [--] [<commit-id>... ]

  [rev-opts] are documented in git-rev-list(1)

  -n, --numbered     sort output according to the number of commits per author
  -s, --summary      Suppress commit descriptions, only provides commit count
  -e, --email        Show the email address of each author
  -w[<w[,i1[,i2]]>]  Linewrap output
`---

Thanks,
Guillem


Reply to: