public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
From: Olaf Hering <olaf@aepfle•de>
To: Junio C Hamano <gitster@pobox•com>
Cc: git@vger•kernel.org
Subject: Re: missing handling of "No newline at end of file" in git am
Date: Tue, 14 Feb 2017 21:51:03 +0100	[thread overview]
Message-ID: <20170214215103.7d5e5f4c@probook.ubnt.lan> (raw)
In-Reply-To: <xmqqh93w8q0r.fsf@gitster.mtv.corp.google.com>

Am Tue, 14 Feb 2017 12:40:36 -0800
schrieb Junio C Hamano <gitster@pobox•com>:

> Olaf Hering <olaf@aepfle•de> writes:
> 
> > 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.  
> 
> I think this has always worked, though.

For me it complains in line 721, which is the problematic one.
I try to apply from mutt via (cd /some/dir && git am), but that
probably does not make a difference.

How would I debug it?

Olaf

  reply	other threads:[~2017-02-14 20:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2017-02-15 11:44     ` Olaf Hering
2017-02-20  8:06       ` Eric Wong
2017-02-14 20:47 ` Jeff King

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170214215103.7d5e5f4c@probook.ubnt.lan \
    --to=olaf@aepfle$(echo .)de \
    --cc=git@vger$(echo .)kernel.org \
    --cc=gitster@pobox$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox