diff --git a/development/CI/bin/check_git_log_for_unrecognised_email_addresses.sh b/development/CI/bin/check_git_log_for_unrecognised_email_addresses.sh index d6ca54794b..5b6646c695 100755 --- a/development/CI/bin/check_git_log_for_unrecognised_email_addresses.sh +++ b/development/CI/bin/check_git_log_for_unrecognised_email_addresses.sh @@ -3,36 +3,44 @@ # CMD=$1 SINCE_DATE=2015-01-01 +# Set format of output as follows: +# abbrev-hash author-date(ISO8601-like) author-name author-email FORMAT='%h %ai name=%an email=%ae' +# For portability/robustness, explicitly set n:o digits in commit hash (%h) +HASH_ABBREV=10 SCRIPT=$0 function show_help() { cat < { --help | -h | --list | -l | --compute-hash } +