Consistent message encoding while reusing log from an existing commit.