atcheck/lsscanner/new_ubuntu/node_modules/npm/scripts/update-authors.sh

10 lines
197 B
Bash
Executable File

#!/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