Re: [PATCH 1/4] diff/xdiff: refactor EOF-EOL detection
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jun 3, 2010, 21:58 UTC
- Message-ID
- <7vsk537p8k.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <08e635cee993d97e2a38d7766ced11c064ef7d87.1275575236.git.git@drmicha.warpmail.net>
Michael J Gruber <git@drmicha.warpmail.net> writes:
> This puts the "No newline at end of file" warning for both code paths
This is not a warning.
It is an integral part of the diff output specification that allows patch recipients to correctly reproduce incomplete lines. Removing this from the output is simply out of question.