Permalink
Browse files

Let git normalize line-endings upon commit (LF)

Only one file belonging to fish-shell had DOS/bogus line endings,
with `git add' picking up changes after updating .gitattributes:
hostname.fish.

Unsurprisingly, it has code to support cygwin and was likely
worked on by a user on a Windows machine. This will help
such cases in the future.

Also, in pcre2-10.21/, there was RunTest.bat which was (correctly)
CRLF formatted.  We don't use this batch script at all, so rather
than LF it or add an exception, blast it away like the other pcre2
files omitted from the repo.
  • Loading branch information...
1 parent b77e2a6 commit 8277f6a1bacde7432fd97244320cb9bf0641664b @floam floam committed Aug 1, 2016
Showing with 18 additions and 536 deletions.
  1. +8 −2 .gitattributes
  2. +0 −524 pcre2-10.21/RunTest.bat
  3. +10 −10 share/functions/hostname.fish
View
@@ -1,3 +1,4 @@
+* text=auto
.gitattributes export-ignore
.gitignore export-ignore
.travis.yml export-ignore
@@ -23,6 +24,11 @@ fish.spec.in export-ignore
/debian/* export-ignore
/.github export-ignore
/.github/* export-ignore
-/pcre2-* linguist-vendored
+/pcre2-10.21/* linguist-vendored
+/pcre2-10.21 linguist-vendored
/share/tools/web_config/js/angular.js linguist-vendored
-/doc_src/* linguist-documentation
+/doc_src linguist-documentation
+/doc_src/* linguist-documentation
+*.md linguist-documentation
+COPYING linguist-documentation
+*.sh eol=lf
Oops, something went wrong.

0 comments on commit 8277f6a

Please sign in to comment.