From bb3c6ac1716892d9514e34f2d2098242f186256e Mon Sep 17 00:00:00 2001 From: Oliver Davies <339813+opdavies@users.noreply.github.com> Date: Tue, 21 May 2024 17:44:17 +0100 Subject: [PATCH] Typo --- git-commit-length-counter.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-commit-length-counter.sh b/git-commit-length-counter.sh index 533ba6e..a7e87d3 100755 --- a/git-commit-length-counter.sh +++ b/git-commit-length-counter.sh @@ -25,7 +25,7 @@ if [[ ! -f "${result_file}" ]]; then for commit_id in $(git -C "${REPO}" rev-list --all --no-merges); do 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_length=$(echo "${commit_message}" | wc --chars)