update_unicode.sh: pin the uniset repo to a known good commit
authorBeat Bolli <dev+git@drbeat.li>
Tue, 13 Dec 2016 23:31:41 +0000 (00:31 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 14 Dec 2016 00:12:48 +0000 (16:12 -0800)
The uniset upstream has added more commits that for example change the
hexadecimal output in '--32' mode to decimal. Let's pin the repo to a
commit that still outputs the width tables in the format we want.

Signed-off-by: Beat Bolli <dev+git@drbeat.li>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/update-unicode/update_unicode.sh
index ff664ec953721e6d207b09e78e2eec7b3b30b2d5..9f1bf31ff522ed3fc72abef169c131edda4de8e4 100755 (executable)
@@ -15,7 +15,8 @@ if ! test -f EastAsianWidth.txt; then
        wget http://www.unicode.org/Public/UCD/latest/ucd/EastAsianWidth.txt
 fi &&
 if ! test -d uniset; then
-       git clone https://github.com/depp/uniset.git
+       git clone https://github.com/depp/uniset.git &&
+       ( cd uniset && git checkout 4b186196dd )
 fi &&
 (
        cd uniset &&