git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* missing handling of "No newline at end of file" in git am
@ 2017-02-14 20:11 Olaf Hering
  2017-02-14 20:40 ` Junio C Hamano
  2017-02-14 20:47 ` Jeff King
  0 siblings, 2 replies; 6+ messages in thread
From: Olaf Hering @ 2017-02-14 20:11 UTC (permalink / raw)
  To: git

[-- Attachment #1: Type: text/plain, Size: 441 bytes --]

How is git send-email and git am supposed to handle a text file which
lacks a newline at the very end? This is about git 2.11.0.

Right now the patch in an email generated with 'git send-email' ends
with '\ No newline at end of file', which 'git am' can not handle.  To
me it looks like whatever variant of "diff" is used does the right thing
and indicates the lack of newline. Just the used variant of "patch" does
not deal with it.


Olaf

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-02-20  8:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-14 20:11 missing handling of "No newline at end of file" in git am Olaf Hering
2017-02-14 20:40 ` Junio C Hamano
2017-02-14 20:51   ` Olaf Hering
2017-02-15 11:44     ` Olaf Hering
2017-02-20  8:06       ` Eric Wong
2017-02-14 20:47 ` Jeff King

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).