Maybe rename this function to `changed_lines` for consistency?