git/templates
Junio C Hamano 03e2b630f0 Update sample pre-commit hook to use "diff --check"
Now "diff --check" can detect not just whitespace errors but also notices
leftover conflict marker lines, we can use it in the sample pre-commit
hook script.

These days the object layer knows about the empty tree object without
actually having one in the repository, so we can run the test even for the
initial commit.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
2008-06-26 22:08:25 -07:00
..
.gitignore Add new programs and stamp file to .gitignore. 2005-10-14 17:13:49 -07:00
branches-- Redo the templates generation and installation. 2005-08-06 13:49:26 -07:00
hooks--applypatch-msg.sample Ship sample hooks with .sample suffix 2008-06-24 19:06:22 -07:00
hooks--commit-msg.sample Ship sample hooks with .sample suffix 2008-06-24 19:06:22 -07:00
hooks--post-commit.sample Ship sample hooks with .sample suffix 2008-06-24 19:06:22 -07:00
hooks--post-receive.sample Ship sample hooks with .sample suffix 2008-06-24 19:06:22 -07:00
hooks--post-update.sample Ship sample hooks with .sample suffix 2008-06-24 19:06:22 -07:00
hooks--pre-applypatch.sample Ship sample hooks with .sample suffix 2008-06-24 19:06:22 -07:00
hooks--pre-commit.sample Update sample pre-commit hook to use "diff --check" 2008-06-26 22:08:25 -07:00
hooks--pre-rebase.sample Ship sample hooks with .sample suffix 2008-06-24 19:06:22 -07:00
hooks--prepare-commit-msg.sample Fix use of "perl -i" on Windows 2008-06-25 17:21:52 -07:00
hooks--update.sample Ship sample hooks with .sample suffix 2008-06-24 19:06:22 -07:00
info--exclude Redo the templates generation and installation. 2005-08-06 13:49:26 -07:00
Makefile templates/Makefile: don't depend on local umask setting 2008-02-28 13:36:50 -08:00
this--description Redo the templates generation and installation. 2005-08-06 13:49:26 -07:00