diff options
author | Björn Steinbrink <B.Steinbrink@gmx.de> | 2009-11-05 11:57:57 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-11-06 23:48:09 -0800 |
commit | c30eb852e281d55b04465b7814e00396893f74f3 (patch) | |
tree | 28f810e4362c6ab530887cea6a99b18646153796 /Documentation | |
parent | GIT 1.6.5 (diff) | |
download | tgif-c30eb852e281d55b04465b7814e00396893f74f3.tar.xz |
pre-commit.sample: Diff against the empty tree when HEAD is invalid
This was already the case for the old "diff --check" call, but the new
one that checks whether there are any non-ascii file names was missing
it, making that check fail for root commits.
Signed-off-by: Björn Steinbrink <B.Steinbrink@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions