зеркало из https://github.com/microsoft/git.git
Use UTF-8 instead of utf8 for backward compatibility
An old iconv (GNU libiconv 1.11) does not know about utf8, it does know UTF-8 though, which is also understood by all newer iconv implementations. Signed-off-by: Alex Riesen <raa.lkml@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Родитель
95405ba6cf
Коммит
39d404d137
|
@ -13,8 +13,8 @@ compare_with () {
|
|||
'')
|
||||
test_cmp "$2" current ;;
|
||||
?*)
|
||||
iconv -f "$3" -t utf8 >current.utf8 <current &&
|
||||
iconv -f "$3" -t utf8 >expect.utf8 <"$2" &&
|
||||
iconv -f "$3" -t UTF-8 >current.utf8 <current &&
|
||||
iconv -f "$3" -t UTF-8 >expect.utf8 <"$2" &&
|
||||
test_cmp expect.utf8 current.utf8
|
||||
;;
|
||||
esac
|
||||
|
|
Загрузка…
Ссылка в новой задаче