Stopped trimming first and last character from commit.
Started doing that again.
How about now?
Now doing it the correct number of times.