diff options
Diffstat (limited to 'third_party/aom/tools/author_first_release.sh')
-rwxr-xr-x | third_party/aom/tools/author_first_release.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/third_party/aom/tools/author_first_release.sh b/third_party/aom/tools/author_first_release.sh new file mode 100755 index 000000000..7b0b79721 --- /dev/null +++ b/third_party/aom/tools/author_first_release.sh @@ -0,0 +1,15 @@ +#!/bin/bash +## +## List the release each author first contributed to. +## +## Usage: author_first_release.sh [TAGS] +## +## If the TAGS arguments are unspecified, all tags reported by `git tag` +## will be considered. +## +tags=${@:-$(git tag)} +for tag in $tags; do + git shortlog -n -e -s $tag | + cut -f2- | + awk "{print \"${tag#v}\t\"\$0}" +done | sort -k2 | uniq -f2 |