diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2015-05-30 18:14:53 +0300 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2015-05-30 18:18:57 +0300 |
commit | bccc2186c0549372420adff2758304b5753f7e8a (patch) | |
tree | f99c21fd2d47a5d9e6e3c1b1958dad8623c240ef | |
parent | ba6b4b47faedbca9828afd3dd6aeaab890ea18c8 (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.
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 |