File: update-authors.sh

package info (click to toggle)
npm 7.5.2%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 8,796 kB
  • sloc: javascript: 70,084; sh: 597; makefile: 85
file content (9 lines) | stat: -rwxr-xr-x 197 bytes parent folder | download
1
2
3
4
5
6
7
8
9
#!/bin/sh

git log --use-mailmap --reverse --format='%aN <%aE>' | perl -wnE '
BEGIN {
  say "# Authors sorted by whether or not they\x27re me";
}

print $seen{$_} = $_ unless $seen{$_}
' > AUTHORS