build: fix broken command-list.h generation with core.autocrlf
The script generate-cmdlist.sh needs input text files in UNIX line ending to work correctly. It's been fine even with core.autocrlf set because Documentation/git-*.txt is forced LF conversion. But this leaves out gitk.txt and also Documentation/*config.txt that recently becomes new input for this script. Update the attribute file to force LF on all *.txt files to be on the safe side. For more details, please see 00ddc9d13c (Fix build with core.autocrlf=true - 2017-05-09) Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Nguyễn Thái Ngọc Duy committed
Nov 10, 2018 at 19:23 UTC
54709d520466d6e1d2feab6499a3fc6bf348e32a
1 file changed
+1
-1
.gitattributes
+1
-1
@@ -5,7 +5,7 @@
5
*.pl eof=lf diff=perl
6
*.pm eol=lf diff=perl
7
*.py eol=lf diff=python
8
-/Documentation/git-*.txt eol=lf
8
+/Documentation/**/*.txt eol=lf
9
/command-list.txt eol=lf
10
/GIT-VERSION-GEN eol=lf
11
/mergetools/* eol=lf