commit: reject non-characters
commit81050ac604e27395509b5bffe80692a14d6ad3cd
authorPeter Krefting <peter@softwolves.pp.se>
Tue, 9 Jul 2013 11:16:33 +0000 (9 12:16 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 9 Jul 2013 16:01:24 +0000 (9 09:01 -0700)
tree3c9035558c03b9d0f80cd75a14617482236e5e86
parente82bd6cc70db28dab8d0434e4033013adcd0abfa
commit: reject non-characters

Unicode clause D14 defines all characters U+nFFFE and U+nFFFF (where
0 <= n <= 10h) as well as the range U+FDD0..U+FDEF as non-characters,
reserved for internal use only.  Disallow these characters in commit
messages as they are normally not recommended for interchange.

Signed-off-by: Peter Krefting <peter@softwolves.pp.se>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
commit.c
t/t3900-i18n-commit.sh