git-history
git-history copied to clipboard
Improve visualization of small inline changes
Currently, the animation slides each changed line out of the way to replace it with the new version. However, this means small changes (e.g. one character changes) will look like entire line changes, and it will be hard to tell the difference between the old line and the new line.
Another case would be indentation changes: difference in whitespace at the beginning of lines.
One potential fix could be to just slide in the new characters (instead of the whole line), while the unchanged characters in the line simply move as needed to make way for the new characters.
+1, as a small typo fix got the same line slide in/out animation as a complete line rewrite. It would be visually nicer if small typos / Inline changes get a different animation (e.g. slide-in single characters instead of the whole line)