mirror of
https://github.com/dolthub/dolt.git
synced 2026-05-03 03:10:26 -05:00
go/utils:checkcommitters: PR feedback.
This commit is contained in:
+2
-2
@@ -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
|
||||
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user