[Xcb] [PATCH libxcb 4/4] Add an AUTHORS file to recognize XCB authors

Josh Triplett josh at joshtriplett.org
Thu Mar 27 00:01:32 PDT 2014


On Wed, Mar 26, 2014 at 10:44:12PM -0700, Alan Coopersmith wrote:
> On 03/26/14 10:33 PM, Josh Triplett wrote:
> >On Wed, Mar 26, 2014 at 10:15:22PM -0400, Gaetan Nadon wrote:
> >>List obtained from the ChangeLog
> >>
> >>Signed-off-by: Gaetan Nadon <memsize at videotron.ca>
> >
> >Perhaps this file could be autogenerated like the ChangeLog?  (Also, the
> >duplication currently present in it suggests that we need a .mailmap
> >file.)
> 
> Something like:
> 	git log --format='%aN' | sort -u > AUTHORS
> ?
> 
> (or if you want e-mail addresses, --format='%aN <%aE>')

git shortlog can do this more easily:

git shortlog -ns | cut -f2- > AUTHORS

(-s serves the same function as the "sort -u", and the cut command
removes the commit counts that -s adds.)

- Josh Triplett


More information about the Xcb mailing list