You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
278 B

#!/bin/sh
git log --reverse --format='%aN <%aE>' | awk '
BEGIN {
print "# Authors sorted by whether or not they'\''re me";
}
{
if (all[$NF] != 1) {
all[$NF] = 1;
ordered[length(all)] = $0;
}
}
END {
for (i in ordered) {
print ordered[i];
}
}
' > AUTHORS