[Xcb] [PATCH libxcb 4/4] Add an AUTHORS file to recognize XCB authors
Alan Coopersmith
alan.coopersmith at oracle.com
Thu Mar 27 00:52:04 PDT 2014
On 03/27/14 12:01 AM, Josh Triplett wrote:
> 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.)
Ah, I'd looked at git shortlog, but missed the -s option and instead
went looking for format options to remove commit titles and found none.
That works for me, and even takes care of the multiple email address
merges, though we could still use .mailmap to clean up a couple
inconsistently spelled names. (Would be nice to have a global mailmap
across all Xorg/xcb repos, but I don't want to figure out the git
magic to make that work myself.)
--
-Alan Coopersmith- alan.coopersmith at oracle.com
Oracle Solaris Engineering - http://blogs.oracle.com/alanc
More information about the Xcb
mailing list