Only use the diff format if it's smaller than the code.