From: Junio C Hamano Date: Thu, 03 Jun 2010 21:58:19 GMT Subject: Re: [PATCH 1/4] diff/xdiff: refactor EOF-EOL detection Message-ID: <7vsk537p8k.fsf@alter.siamese.dyndns.org> In-Reply-To: <08e635cee993d97e2a38d7766ced11c064ef7d87.1275575236.git.git@drmicha.warpmail.net> Michael J Gruber 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.