This commit is contained in:
Oliver Davies 2024-05-21 17:44:17 +01:00 committed by GitHub
parent 379534ce60
commit bb3c6ac171
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -25,7 +25,7 @@ if [[ ! -f "${result_file}" ]]; then
for commit_id in $(git -C "${REPO}" rev-list --all --no-merges); do for commit_id in $(git -C "${REPO}" rev-list --all --no-merges); do
echo "Processing commit ${commit_id}..." echo "Processing commit ${commit_id}..."
# Calculate the legnth of the commit message. # Calculate the length of the commit message.
commit_message=$(GIT_PAGER=cat git -C "${REPO}" show "${commit_id}" -s --format=%B) commit_message=$(GIT_PAGER=cat git -C "${REPO}" show "${commit_id}" -s --format=%B)
commit_message_length=$(echo "${commit_message}" | wc --chars) commit_message_length=$(echo "${commit_message}" | wc --chars)