Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(316)

Unified Diff: third_party/libvpx/source/libvpx/tools/author_first_release.sh

Issue 1158913006: Move libvpx from DEPS to src (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add DEPS file with #include paths Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/libvpx/source/libvpx/tools/author_first_release.sh
diff --git a/third_party/libvpx/source/libvpx/tools/author_first_release.sh b/third_party/libvpx/source/libvpx/tools/author_first_release.sh
new file mode 100755
index 0000000000000000000000000000000000000000..7b0b79721253ee5f77586c276e22f951389490e5
--- /dev/null
+++ b/third_party/libvpx/source/libvpx/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

Powered by Google App Engine
This is Rietveld 408576698