Only test the prospective commit: ignore unstaged changes.

Prevents e.g. PHPUnit from tripping over `xdebug_break()` statements that you're not even trying to commit.