meta:git-hooks:commit-msg: Fix typo

I have no idea how I have not noticed this yet, as apparently every time
I wrote a commit message that contains a body and not just a subject I
got an error message complaining that the first word does not exist as a
command. (With the exception of when it actually is, but then executing
arbitrary code)
This commit is contained in:
2021-06-30 12:51:29 +02:00
parent 6e3f5a96b3
commit 9a7c5e6c47

View File

@@ -45,7 +45,7 @@ done
BKP_IFS="$IFS"
IFS='
'
for line in $($body); do
for line in $body; do
[[ ${#line} -le 72 ]] || die "Body lines too long. (<= 72)\n"
done
IFS="$BKP_IFS"