Re: [RFC PATCH 2/3] diff: respect MIN_BLOCK_LENGTH for last block

2017-08-14 Thread Stefan Beller
On Fri, Aug 11, 2017 at 3:49 PM, Jonathan Tan wrote: > Currently, MIN_BLOCK_LENGTH is only checked when diff encounters a line > that does not belong to the current block. In particular, this means > that MIN_BLOCK_LENGTH is not checked after all lines are encountered. >

[RFC PATCH 2/3] diff: respect MIN_BLOCK_LENGTH for last block

2017-08-11 Thread Jonathan Tan
Currently, MIN_BLOCK_LENGTH is only checked when diff encounters a line that does not belong to the current block. In particular, this means that MIN_BLOCK_LENGTH is not checked after all lines are encountered. Perform that check. Signed-off-by: Jonathan Tan ---