go/utils:checkcommitters: PR feedback.

This commit is contained in:
Aaron Son
2019-08-08 14:00:30 -07:00
parent 1951ea04b2
commit 0a0fcf9512
2 changed files with 3 additions and 3 deletions
@@ -10,8 +10,8 @@ if [[ $# -gt 0 ]]; then
fi
if [[ $# -ne 4 && $# -ne 2 ]]; then
echo "Usage: fix_commiter.sh [-f] TARGET_BRANCH WRONG_EMAIL [RIGHT_NAME RIGHT_EMAIL]" 1>&2
echo " Example: fix_commiter.sh master nobody@github.com \"Aaron Son\" \"aaron@liquidata.co\"" 1>&2
echo "Usage: fix_committer.sh [-f] TARGET_BRANCH WRONG_EMAIL [RIGHT_NAME RIGHT_EMAIL]" 1>&2
echo " Example: fix_committer.sh master nobody@github.com \"Aaron Son\" \"aaron@liquidata.co\"" 1>&2
echo " If RIGHT_NAME and RIGHT_EMAIL are ommitted, they are taken to be the current user from git config" 1>&2
exit 1
fi
+1 -1
View File
@@ -80,7 +80,7 @@ func main() {
func HandleCheckAndExit(failed bool) {
if failed {
fmt.Printf("\nThis PR has non-whitelisted committers or authors.\n")
fmt.Printf("Please use ./utils/checkcommitters/fix_commiter.sh to make\n")
fmt.Printf("Please use ./utils/checkcommitters/fix_committer.sh to make\n")
fmt.Printf("all commits from a whitelisted committer and author.\n")
os.Exit(1)
}