• Jan Provaznik's avatar
    Don't add bottom 'match' line for deleted files · 26a8472d
    Jan Provaznik authored
    If a file is deleted, its new_pos is 0 (less than
    total_blob_lines), but there is no reason to add the
    bottom 'match' line in this case because there is not
    extra content which could be expanded.
    26a8472d
file_spec.rb 17.1 KB