Junio C Hamano [off-list ref] 于2021年6月15日周二 上午9:17写道:
Jiang Xin [off-list ref] writes:
quoted
/*
* Let's insert a suffix to clear the end
* of the screen line, but only if current
* line data actually contains something.
*/
So my implementation is to try not to break the original
implementation, and keep the linelen unchanged.
I knew what you wanted to do from your code---I am questioning if
that "only when something is there" was really sensible, or if it
was just attracting bugs.
@Nicolas, what's your opinion? Is it ok to add clear-to-eol suffix to
each line even empty ones?
--
Jiang Xin