]> granicus.if.org Git - vim/commitdiff
patch 8.1.2182: test42 seen as binary by git diff v8.1.2182
authorBram Moolenaar <Bram@vim.org>
Sat, 19 Oct 2019 16:37:53 +0000 (18:37 +0200)
committerBram Moolenaar <Bram@vim.org>
Sat, 19 Oct 2019 16:37:53 +0000 (18:37 +0200)
Problem:    Test42 seen as binary by git diff.
Solution:   Add .gitattributes file.  Make explicit that 'cpo' does not
            contain 'S'. (Daniel Hahler, closes #5072)

.gitattributes [new file with mode: 0644]
Filelist
src/testdir/test42.in
src/version.c

diff --git a/.gitattributes b/.gitattributes
new file mode 100644 (file)
index 0000000..9216dbe
--- /dev/null
@@ -0,0 +1 @@
+src/testdir/test42.in diff
index e79cbb791ef4ffcc42eea31acf417985c84ac29f..a2b9f0adb74a34291f04f420f507ebb55cc349ec 100644 (file)
--- a/Filelist
+++ b/Filelist
@@ -4,6 +4,7 @@
 # source files for all source archives
 SRC_ALL =      \
                .gitignore \
+               .gitattributes \
                .hgignore \
                .lgtm.yml \
                .travis.yml \
index c35569a76c908682eb8e7e7ab8d9a3522d9fa473..1d9d3ab92cd597e8c75fab7763d90cf3906c7da4 100644 (file)
Binary files a/src/testdir/test42.in and b/src/testdir/test42.in differ
index 0fff97d466b348de63cf30406219231ef685a207..afdc49aeb205fbdb472a4dd912ff7217fa71b3c6 100644 (file)
@@ -741,6 +741,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    2182,
 /**/
     2181,
 /**/