t / t4013 / diff.diff_--name-status_dir2_diron commit make the sample pre-commit hook script reject names with newlines, too (c14daa4)
   1$ git diff --name-status dir2 dir
   2$