17d11011aece2132c6fdbe497622c05800fad3d1
If the user inserted or removed a line at the start of what is also a modification of indentation level, such as to add or remove a control flow statement, we want to show the line insert as a whole line insert, without the leading indentation appearing to be common and borrowed from the next line. Try to repair this case by shifting the edit region left until we hit a line break, and then avoiding the shift right if the region starts at a line break and contains at least one LF. Change-Id: If0024b4a22434c124374b9507f59e1153836419e Signed-off-by: Shawn O. Pearce <sop@google.com>
Description
RETIRED, Gerrit as used by OpenStack