Re: [PATCH 2/2] blame: simplify prepare_lines()
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Jun 13, 2014, 21:46 UTC
- Message-ID
- <20140613214642.GM8557@google.com>
- In-Reply-To
- <539B6E31.1080901@web.de>
Hi,
René Scharfe wrote:
> There is no need to look at the caller -- the contents of the lineno > array is not (intended to be) changed by the patch.
Ah. If there is no incomplete line, the 'p < end' condition trips and it doesn't try to record the nonexistent incomplete line. Thanks for explaining and sorry for the confusion.
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>