From: brian m. carlson Date: Thu, 4 Jul 2013 17:19:43 +0000 (+0000) Subject: commit: reject invalid UTF-8 codepoints X-Git-Tag: v1.8.4-rc0~46^2~2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/28110d4bfc613d875231d3d7788500d876136ffc?hp=28110d4bfc613d875231d3d7788500d876136ffc commit: reject invalid UTF-8 codepoints The commit code already contains code for validating UTF-8, but it does not check for invalid values, such as guaranteed non-characters and surrogates. Fix this by explicitly checking for and rejecting such characters. Signed-off-by: brian m. carlson Signed-off-by: Junio C Hamano ---