Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2sharp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2015-05-30 18:14:53 +0300
committerEdward Thomson <ethomson@edwardthomson.com>2015-05-30 18:18:57 +0300
commitbccc2186c0549372420adff2758304b5753f7e8a (patch)
treef99c21fd2d47a5d9e6e3c1b1958dad8623c240ef
parentba6b4b47faedbca9828afd3dd6aeaab890ea18c8 (diff)
Add .gitattributes to test resourcesethomson/test_gitattributes
When the test resources are "sandboxed" for test execution, they are copied from the test resources directory, which was checked out by the end user using the LibGit2Sharp repository's .gitattributes, which specifies `* text=auto`. As a result, the test resources have had their line endings normalized. The test repositories, however, do not have a setting that indicates that their working directories have had normalized data written. Our test repositories must therefore match the mechanism by which they were written.
-rw-r--r--LibGit2Sharp.Tests/Resources/assume_unchanged_wd/.gitattributes1
-rw-r--r--LibGit2Sharp.Tests/Resources/merge_testrepo_wd/.gitattributes1
-rw-r--r--LibGit2Sharp.Tests/Resources/mergedrepo_wd/.gitattributes1
-rw-r--r--LibGit2Sharp.Tests/Resources/mergerenames_wd/.gitattributes1
-rw-r--r--LibGit2Sharp.Tests/Resources/revert_testrepo_wd/.gitattributes1
-rw-r--r--LibGit2Sharp.Tests/Resources/submodule_small_wd/.gitattributes1
-rw-r--r--LibGit2Sharp.Tests/Resources/submodule_target_wd/.gitattributes1
-rw-r--r--LibGit2Sharp.Tests/Resources/submodule_wd/.gitattributes1
-rw-r--r--LibGit2Sharp.Tests/Resources/testrepo_wd/.gitattributes1
9 files changed, 9 insertions, 0 deletions
diff --git a/LibGit2Sharp.Tests/Resources/assume_unchanged_wd/.gitattributes b/LibGit2Sharp.Tests/Resources/assume_unchanged_wd/.gitattributes
new file mode 100644
index 00000000..176a458f
--- /dev/null
+++ b/LibGit2Sharp.Tests/Resources/assume_unchanged_wd/.gitattributes
@@ -0,0 +1 @@
+* text=auto
diff --git a/LibGit2Sharp.Tests/Resources/merge_testrepo_wd/.gitattributes b/LibGit2Sharp.Tests/Resources/merge_testrepo_wd/.gitattributes
new file mode 100644
index 00000000..176a458f
--- /dev/null
+++ b/LibGit2Sharp.Tests/Resources/merge_testrepo_wd/.gitattributes
@@ -0,0 +1 @@
+* text=auto
diff --git a/LibGit2Sharp.Tests/Resources/mergedrepo_wd/.gitattributes b/LibGit2Sharp.Tests/Resources/mergedrepo_wd/.gitattributes
new file mode 100644
index 00000000..176a458f
--- /dev/null
+++ b/LibGit2Sharp.Tests/Resources/mergedrepo_wd/.gitattributes
@@ -0,0 +1 @@
+* text=auto
diff --git a/LibGit2Sharp.Tests/Resources/mergerenames_wd/.gitattributes b/LibGit2Sharp.Tests/Resources/mergerenames_wd/.gitattributes
new file mode 100644
index 00000000..176a458f
--- /dev/null
+++ b/LibGit2Sharp.Tests/Resources/mergerenames_wd/.gitattributes
@@ -0,0 +1 @@
+* text=auto
diff --git a/LibGit2Sharp.Tests/Resources/revert_testrepo_wd/.gitattributes b/LibGit2Sharp.Tests/Resources/revert_testrepo_wd/.gitattributes
new file mode 100644
index 00000000..176a458f
--- /dev/null
+++ b/LibGit2Sharp.Tests/Resources/revert_testrepo_wd/.gitattributes
@@ -0,0 +1 @@
+* text=auto
diff --git a/LibGit2Sharp.Tests/Resources/submodule_small_wd/.gitattributes b/LibGit2Sharp.Tests/Resources/submodule_small_wd/.gitattributes
new file mode 100644
index 00000000..176a458f
--- /dev/null
+++ b/LibGit2Sharp.Tests/Resources/submodule_small_wd/.gitattributes
@@ -0,0 +1 @@
+* text=auto
diff --git a/LibGit2Sharp.Tests/Resources/submodule_target_wd/.gitattributes b/LibGit2Sharp.Tests/Resources/submodule_target_wd/.gitattributes
new file mode 100644
index 00000000..176a458f
--- /dev/null
+++ b/LibGit2Sharp.Tests/Resources/submodule_target_wd/.gitattributes
@@ -0,0 +1 @@
+* text=auto
diff --git a/LibGit2Sharp.Tests/Resources/submodule_wd/.gitattributes b/LibGit2Sharp.Tests/Resources/submodule_wd/.gitattributes
new file mode 100644
index 00000000..176a458f
--- /dev/null
+++ b/LibGit2Sharp.Tests/Resources/submodule_wd/.gitattributes
@@ -0,0 +1 @@
+* text=auto
diff --git a/LibGit2Sharp.Tests/Resources/testrepo_wd/.gitattributes b/LibGit2Sharp.Tests/Resources/testrepo_wd/.gitattributes
new file mode 100644
index 00000000..176a458f
--- /dev/null
+++ b/LibGit2Sharp.Tests/Resources/testrepo_wd/.gitattributes
@@ -0,0 +1 @@
+* text=auto