commit - 0279329dccffda40b130fe1a08f888694df1238f
commit + 24a2826aba4cf5e99c0e9ce87dccbd23d1b3862e
blob - baf885a2ff3bb7c807406742e7ae48aca41aa678
blob + dd299b86f1969388fa94d5292d5770aa516a2d92
--- gotd/repo_write.c
+++ gotd/repo_write.c
err = got_object_commit_get_logmsg(&logmsg0, commit);
if (err)
goto done;
+
+ dprintf(fd, "messagelen: %zu\n", strlen(logmsg0));
logmsg = logmsg0;
do {
err = got_error_from_errno("strdup");
goto done;
}
+
+ dprintf(fd, "messagelen: %zu\n", strlen(tagmsg0));
+
tagmsg = tagmsg0;
do {
line = strsep(&tagmsg, "\n");
blob - 44052114a99b0f98370a006d3e3c691db559ceec
blob + aa9556f2d9c1cf313a1ed01b11b9972e5e4b2441
--- regress/gotd/email_notification.sh
+++ regress/gotd/email_notification.sh
printf "from: $GOT_AUTHOR\n" >> $testroot/stdout.expected
d=`date -u -r $author_time +"%a %b %e %X %Y UTC"`
printf "date: $d\n" >> $testroot/stdout.expected
+ printf "messagelen: 14\n" >> $testroot/stdout.expected
printf " \n" >> $testroot/stdout.expected
printf " make changes\n \n" >> $testroot/stdout.expected
printf " M alpha | 1+ 1-\n\n" >> $testroot/stdout.expected
printf "commit $commit_id\n" >> $testroot/stdout.expected
printf "from: $GOT_AUTHOR\n" >> $testroot/stdout.expected
printf "date: $commit_time\n" >> $testroot/stdout.expected
+ printf "messagelen: 14\n" >> $testroot/stdout.expected
printf " \n" >> $testroot/stdout.expected
printf " make changes\n \n" >> $testroot/stdout.expected
printf " M alpha | 1+ 1-\n\n" \
printf "from: $GOT_AUTHOR\n" >> $testroot/stdout.expected
d=`date -u -r $author_time +"%a %b %e %X %Y UTC"`
printf "date: $d\n" >> $testroot/stdout.expected
+ printf "messagelen: 11\n" >> $testroot/stdout.expected
printf " \n" >> $testroot/stdout.expected
printf " newbranch\n \n" >> $testroot/stdout.expected
printf " M alpha | 1+ 1-\n\n" >> $testroot/stdout.expected
d=`date -u -r $tagger_time +"%a %b %e %X %Y UTC"`
printf "date: $d\n" >> $testroot/stdout.expected
printf "object: commit $commit_id\n" >> $testroot/stdout.expected
+ printf "messagelen: 9\n" >> $testroot/stdout.expected
printf " \n" >> $testroot/stdout.expected
printf " new tag\n \n" >> $testroot/stdout.expected
printf "\r\n" >> $testroot/stdout.expected
printf "from: $GOT_AUTHOR\n" >> $testroot/stdout.expected
d=`date -u -r $tagger_time +"%a %b %e %X %Y UTC"`
printf "date: $d\n" >> $testroot/stdout.expected
+ printf "messagelen: 8\n" >> $testroot/stdout.expected
printf "object: commit $commit_id\n" >> $testroot/stdout.expected
printf " \n" >> $testroot/stdout.expected
printf " new tag\n \n" >> $testroot/stdout.expected