Make newly added blocks align correctly in side-by-side view
author Chris Han
()
committer Chris Han
()
commit eaf9965e9308522c34628035bf19fcef65a9ef77
tree 1b1ded527621dce64b02147c5a851b7e63a80222
parent ee61f73461c0c9d8489bbe097fa1a525cfe9c5b2
Make newly added blocks align correctly in side-by-side view

Added blocks of code (so all '+' lines) are aligning incorrectly - they
appear one line higher than where they actually are, which is confusing
because it generally makes the code look like it's syntactially invalid.

This change does fix it, but I'm really don't think that it's the right
solution. Labeling it as a HACK for now to revisit later.
include/git/FileDiff.class.php
comments