git-apply: implement "diffstat" output