summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-06-04 10:21:04 +0900
committerJunio C Hamano <gitster@pobox.com>2017-06-04 10:21:04 +0900
commit7ba4fa5c080c3ee2ce2aaafaf469bc781c951571 (patch)
tree8a3049068ef2b40208dc9c7bd29195aec9a273c2 /contrib
parent970fb22dd6734f10f3ff261bb39b31a0321f1c79 (diff)
parent2779f665054c3ba85c1ee298929e640149d84b1e (diff)
downloadgit-7ba4fa5c080c3ee2ce2aaafaf469bc781c951571.tar.gz
Merge branch 'js/eol-on-ourselves' into maint
Make sure our tests would pass when the sources are checked out with "platform native" line ending convention by default on Windows. Some "text" files out tests use and the test scripts themselves that are meant to be run with /bin/sh, ought to be checked out with eol=LF even on Windows. * js/eol-on-ourselves: t4051: mark supporting files as requiring LF-only line endings Fix the remaining tests that failed with core.autocrlf=true t3901: move supporting files into t/t3901/ completion: mark bash script as LF-only git-new-workdir: mark script as LF-only Fix build with core.autocrlf=true
Diffstat (limited to 'contrib')
-rw-r--r--contrib/completion/.gitattributes1
-rw-r--r--contrib/workdir/.gitattributes1
2 files changed, 2 insertions, 0 deletions
diff --git a/contrib/completion/.gitattributes b/contrib/completion/.gitattributes
new file mode 100644
index 0000000000..19116944c1
--- /dev/null
+++ b/contrib/completion/.gitattributes
@@ -0,0 +1 @@
+*.bash eol=lf
diff --git a/contrib/workdir/.gitattributes b/contrib/workdir/.gitattributes
new file mode 100644
index 0000000000..1f78c5d1bd
--- /dev/null
+++ b/contrib/workdir/.gitattributes
@@ -0,0 +1 @@
+/git-new-workdir eol=lf