From 25450e539d18d9239345363005078c9efd3c315e Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 27 Nov 2019 10:34:24 +0000 Subject: [PATCH] updated check_git_commit_authors.sh --- check_git_commit_authors.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check_git_commit_authors.sh b/check_git_commit_authors.sh index ff81a3a4..c6cfd856 100755 --- a/check_git_commit_authors.sh +++ b/check_git_commit_authors.sh @@ -129,7 +129,7 @@ check_root_committed(){ } check_emails_without_domains(){ - emails="${emails:-$(git_local_emails)}" + emails="${emails:-$(git_log_emails)}" # need to use sed not built-in variable replacement in order to handle multi-line emails # shellcheck disable=SC2001 domains="$(sed 's/.*@//' <<< "$emails" | sort -u)"