1
0
mirror of https://github.com/git/git.git synced 2025-04-21 14:57:19 +00: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
..
2006-02-26 15:16:41 -08:00
2007-06-07 00:04:01 -07:00
2007-06-07 00:04:01 -07:00
2005-08-03 16:27:38 -07:00
2007-06-07 00:04:01 -07:00
2007-11-22 23:25:19 -08:00