Fix pull error code for commit