pub fn comment_only(diff: &str) -> boolExpand description
Whether a git diff -U0 of one file changes comments and nothing else:
at least one hunk, and every added or removed line that is not blank is
a comment line (is_comment_line). No hunk at all (a binary file, a
mode change) is not “comments only”.