revert: fix off by one read when searching the end of a commit subject