If there is no trailing blank line, git diff will display unnecessary diff information.
Related commit: 077f9bac