Fix bug in commit verification introduced in #13673 (#14040)
Fix bug in commit verification introduced in #13673 (#14040)

There is a slight bug in the commit_reader introduced in #13673 whereby
commit messages which have a final unterminated line miss their final line.

This PR fixes this.

Signed-off-by: Andrew Thornton <6a547fdd28db89120bdd70d4af1f9ba672ccd43a@cantab.net>
go-gitea/gitea,go-gitea/gitea,vdbt/gitea,cez81/gitea,go-gitea/gitea,vdbt/gitea,cez81/gitea,cez81/gitea