pre-commit.php catches one-line hunks that are in error

It previously assumed that comma always indicates the end of a line
number in a hunk header, which fails in git's one-line hunk headers.