File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed
Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 11TL;DR: Run update_unicode.sh after the publication of a new Unicode
2- standard and commit the resulting unicode_widths .h file.
2+ standard and commit the resulting unicode-widths .h file.
33
44The long version
55================
66
7- The Git source code ships the file unicode_widths .h which contains
7+ The Git source code ships the file unicode-widths .h which contains
88tables of zero and double width Unicode code points, respectively.
99These tables are generated using update_unicode.sh in this directory.
1010update_unicode.sh itself uses a third-party tool, uniset, to query two
@@ -16,5 +16,5 @@ This requires a current-ish version of autoconf (2.69 works per December
1616
1717On each run, update_unicode.sh checks whether more recent Unicode data
1818files are available from the Unicode consortium, and rebuilds the header
19- unicode_widths .h with the new data. The new header can then be
19+ unicode-widths .h with the new data. The new header can then be
2020committed.
Original file line number Diff line number Diff line change 66# Cf Format a format control character
77#
88cd " $( dirname " $0 " ) "
9- UNICODEWIDTH_H=$( git rev-parse --show-toplevel) /unicode_width .h
9+ UNICODEWIDTH_H=$( git rev-parse --show-toplevel) /unicode-width .h
1010
1111wget -N http://www.unicode.org/Public/UCD/latest/ucd/UnicodeData.txt \
1212 http://www.unicode.org/Public/UCD/latest/ucd/EastAsianWidth.txt &&
File renamed without changes.
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ static int git_wcwidth(ucs_char_t ch)
8181 /*
8282 * Sorted list of non-overlapping intervals of non-spacing characters,
8383 */
84- #include "unicode_width .h"
84+ #include "unicode-width .h"
8585
8686 /* test for 8-bit control characters */
8787 if (ch == 0 )
You can’t perform that action at this time.
0 commit comments