From: Junio C Hamano Date: Wed, 02 Oct 2019 20:03:14 GMT Subject: Re: [BUG] incorrect line numbers reported in git am Message-ID: In-Reply-To: <20191002184546.GA22174@generichostname> Denton Liu 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.