Code

Extend sample pre-commit hook to check for non ascii filenames
authorHeiko Voigt <hvoigt@hvoigt.net>
Tue, 19 May 2009 20:01:54 +0000 (22:01 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 20 May 2009 07:04:37 +0000 (00:04 -0700)
commitd00e364de99d51bb76e437820e23cfa820417ec5
tree6f0d60f25fcec751182b1ad548862c22a61512a6
parent91fe2f909154c5cda3b40c68e72c3172a7f137f6
Extend sample pre-commit hook to check for non ascii filenames

At the moment non-ascii encodings of filenames are not portably
converted between different filesystems by git. This will most likely
change in the future but to allow repositories to be portable among
different file/operating systems this check is enabled by default.

Signed-off-by: Heiko Voigt <hvoigt@hvoigt.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
templates/hooks--pre-commit.sample