1
0
mirror of https://github.com/git/git.git synced 2024-10-01 16:32:42 +02:00
git/templates
Junio C Hamano 7a3db75bee Fix sample pre-commit hook
If the worktree happened to have a file called HEAD, "diff-index --cached HEAD"
would complain about the ambiguity between revision and path.  Avoid it by
using an explicit "--" for disambiguation.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
2007-11-22 23:25:19 -08:00
..
.gitignore
branches--
hooks--applypatch-msg
hooks--commit-msg War on whitespace 2007-06-07 00:04:01 -07:00
hooks--post-commit
hooks--post-receive War on whitespace 2007-06-07 00:04:01 -07:00
hooks--post-update
hooks--pre-applypatch War on whitespace 2007-06-07 00:04:01 -07:00
hooks--pre-commit Fix sample pre-commit hook 2007-11-22 23:25:19 -08:00
hooks--pre-rebase
hooks--update hooks--update: Explicitly check for all zeros for a deleted ref. 2007-09-13 22:33:11 -07:00
info--exclude
Makefile Use $(RM) in Makefiles instead of 'rm -f' 2007-07-14 23:31:01 -07:00
this--description