path: root/contrib
diff options
authorStefan Beller <>2018-04-10 21:26:17 (GMT)
committerJunio C Hamano <>2018-04-11 09:11:00 (GMT)
commite233bef43e4a73ec183eb927ab4803aefc77bab9 (patch)
treec4e93988a6382aaa4e3251d5a8d696356e7a7191 /contrib
parentfa2656f1da2c01e139423d98b7cbc52cbeadb52c (diff)
unicode_width.h: rename to use dash in file name
This is more consistent with the project style. The majority of Git's source files use dashes in preference to underscores in their file names. Also adjust contrib/update-unicode as well. Signed-off-by: Stefan Beller <>
Diffstat (limited to 'contrib')
2 files changed, 4 insertions, 4 deletions
diff --git a/contrib/update-unicode/README b/contrib/update-unicode/README
index b9e2fc8..151a197 100644
--- a/contrib/update-unicode/README
+++ b/contrib/update-unicode/README
@@ -1,10 +1,10 @@
TL;DR: Run after the publication of a new Unicode
-standard and commit the resulting unicode_widths.h file.
+standard and commit the resulting unicode-widths.h file.
The long version
-The Git source code ships the file unicode_widths.h which contains
+The Git source code ships the file unicode-widths.h which contains
tables of zero and double width Unicode code points, respectively.
These tables are generated using in this directory. 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
On each run, checks whether more recent Unicode data
files are available from the Unicode consortium, and rebuilds the header
-unicode_widths.h with the new data. The new header can then be
+unicode-widths.h with the new data. The new header can then be
diff --git a/contrib/update-unicode/ b/contrib/update-unicode/
index e05db92..aa90865 100755
--- a/contrib/update-unicode/
+++ b/contrib/update-unicode/
@@ -6,7 +6,7 @@
#Cf Format a format control character
cd "$(dirname "$0")"
-UNICODEWIDTH_H=$(git rev-parse --show-toplevel)/unicode_width.h
+UNICODEWIDTH_H=$(git rev-parse --show-toplevel)/unicode-width.h
wget -N \ &&