Re: [BUG] incorrect line numbers reported in git am
To
Denton Liu
Cc
git@vger.kernel.org
Paul Tan
Nguyễn Thái Ngọc Duy
Jeff King
From
Junio C Hamano
See Also
Prev
Date
2019-10-02 20:03:14 UTC
Denton Liu <liu.denton@gmail.com> writes:

> which is in the middle of the log message. I expect the line to be
> reported as something in the range of 198-203,...

That comes from not knowing who is complaining and what it is
reading.  In this case, "git apply" issues a warning because it is
fed .git/rebase-apply/patch file, which is the output of mailinfo
that parses header & log message out, leaves the message in a
separate 'msg' file in the same directory and stores the rest in
that 'patch' file.  And it is line 87 that has problems.