git-commit-vandalism/templates
Jim Meyering c14daa4845 make the sample pre-commit hook script reject names with newlines, too
The sample pre-commit hook script would fail to reject a file name like
"a\nb" because of the way newlines are handled in "$(...)".  Adjust the
test to count filtered bytes and require there be 0.  Also print all
diagnostics to standard error, not stdout, so they will actually be seen.

Signed-off-by: Jim Meyering <meyering@redhat.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2011-10-26 14:31:14 -07:00
..
.gitignore
branches-- Revert "Don't create the $GIT_DIR/branches directory on init" 2009-10-31 11:16:50 -07:00
hooks--applypatch-msg.sample Ship sample hooks with .sample suffix 2008-06-24 19:06:22 -07:00
hooks--commit-msg.sample Modernize git calling conventions in hook templates 2010-03-20 09:04:38 -07:00
hooks--post-commit.sample Ship sample hooks with .sample suffix 2008-06-24 19:06:22 -07:00
hooks--post-receive.sample Correct minor typo in post-receive hook template 2009-09-29 08:26:43 -07:00
hooks--post-update.sample Modernize git calling conventions in hook templates 2010-03-20 09:04:38 -07:00
hooks--pre-applypatch.sample Ship sample hooks with .sample suffix 2008-06-24 19:06:22 -07:00
hooks--pre-commit.sample make the sample pre-commit hook script reject names with newlines, too 2011-10-26 14:31:14 -07:00
hooks--pre-rebase.sample Modernize git calling conventions in hook templates 2010-03-20 09:04:38 -07:00
hooks--prepare-commit-msg.sample Modernize git calling conventions in hook templates 2010-03-20 09:04:38 -07:00
hooks--update.sample Modernize git calling conventions in hook templates 2010-03-20 09:04:38 -07:00
info--exclude Modernize git calling conventions in hook templates 2010-03-20 09:04:38 -07:00
Makefile Make templates honour SHELL_PATH and PERL_PATH 2010-03-20 09:03:52 -07:00
this--description Modify description file to say what this file is 2009-03-04 00:56:52 -08:00