From: Björn Steinbrink Date: Thu, 5 Nov 2009 10:57:57 +0000 (+0100) Subject: pre-commit.sample: Diff against the empty tree when HEAD is invalid X-Git-Tag: v1.6.5.3~1^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/c30eb852e281d55b04465b7814e00396893f74f3?ds=inline;hp=c30eb852e281d55b04465b7814e00396893f74f3 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 Signed-off-by: Junio C Hamano ---