On 9/25/2020 3:01 AM, Jeff King wrote: > Somebody mentioned at the inclusion summit that it would be nice for > mentoring/pairing relationships if we could more easily give credit to > multiple authors of a commit. When people ask about adding multiple > "author" headers, we usually recommend that they use a "co-authored-by" > trailer. But you can't convince shortlog to count it for anything. :) This discussion was worthwhile, and could even have measurable effects on this community, depending on how Junio creates the list of contributors for the release notes. > So this series adds support for counting trailers to shortlog. You can > do a number of fun things with it, like: > > # credit reviewers > git shortlog -ns --group=trailer:reviewed-by > > # credit authors and co-authors equally > git shortlog -ns --group=author \ > --group=trailer:co-authored-by > > # see who helps whom > git shortlog --format="...helped %an on %as" \ > --group=trailer:helped-by I built Git with these patches and played around with these and other options (such as `--group=author --group=committer`). I could not find any bugs or other ways to improve these patches. Thanks, -Stolee