https://github.com/tendermint/tendermint
Raw File
Tip revision: 24d7fdd3e31db54a3d888b325d9d008b2f05fa40 authored by tycho garen on 14 June 2022, 21:01:51 UTC
p2p: accept should not abort on first error
Tip revision: 24d7fdd
authors.sh
#! /bin/bash

# Usage:
#   `./authors.sh`
#		Print a list of all authors who have committed to develop since master.
#
#   `./authors.sh <email address>`
#		Lookup the email address on Github and print the associated username

author=$1

if [[ "$author" == "" ]]; then
	git log master..develop | grep Author | sort | uniq
else
	curl -s "https://api.github.com/search/users?q=$author+in%3Aemail&type=Users&utf8=%E2%9C%93" | jq .items[0].login
fi
back to top