t / t4013 / diff.diff-tree_--pretty_--patch-with-stat_initialon commit make the sample pre-commit hook script reject names with newlines, too (c14daa4)
   1$ git diff-tree --pretty --patch-with-stat initial
   2$