Re: [PATCH] diff: retire sane_truncate_fn

2017-08-17 Thread Stefan Beller
On Thu, Aug 17, 2017 at 10:27 AM, Junio C Hamano wrote: > Long time ago, 23707811 ("diff: do not chomp hunk-header in the > middle of a character", 2008-01-02) introduced sane_truncate_line() > helper function to trim the "function header" line that is shown at > the end of the

[PATCH] diff: retire sane_truncate_fn

2017-08-17 Thread Junio C Hamano
Long time ago, 23707811 ("diff: do not chomp hunk-header in the middle of a character", 2008-01-02) introduced sane_truncate_line() helper function to trim the "function header" line that is shown at the end of the hunk header line, in order to avoid chomping it in the middle of a single UTF-8