Files
gerrit/polygerrit-ui/app/elements/diff/gr-diff-host
Hermann Loose 234616a862 Let GrDiffHost determine whether to show newline warnings
This allows greater control over presentation, e.g. when the GrDiff
component is used independently it can be provided with a diff that
lacks the empty line at the end to prevent an empty line from being
displayed, while the warning can still be shown when necessary based on
whether a terminating newline was present in the file.

Change-Id: I9fa8b5b6e1ef6b1d33a7a2ba0bcfaec8041cb947
2020-02-21 13:25:34 +01:00
..