mirror of https://github.com/Wilfred/difftastic/
Fix crash with --display=inline and trailing whitespace
Line numbers may be less than .max_line(), as .max_line() trims whitespace. Ensure pad_after() is robust to this, and add a test. I could only reproduce the crash in inline display mode, but in principle this could be an issue in all modes. Fixes #452pull/464/head 0.42.0
parent
e17b6e6109
commit
daa7156a2c
Loading…
Reference in New Issue