diff options
| author | Russell Belfer <arrbee@arrbee.com> | 2012-01-20 11:13:17 -0800 |
|---|---|---|
| committer | Russell Belfer <arrbee@arrbee.com> | 2012-01-20 11:13:17 -0800 |
| commit | 63ab73bec0a54300a48355ee28dd24ebd39e2cd2 (patch) | |
| tree | b341b54a3b37d30b799a886f15729f537993e8c7 /tests | |
| parent | 9269ccce143578deec4d4e6e7755068f130abe96 (diff) | |
| parent | 83bfbdf593a76c591bb9cbd40cec6fca36c81a9c (diff) | |
| download | libgit2-63ab73bec0a54300a48355ee28dd24ebd39e2cd2.tar.gz | |
Merge branch 'fix-subdir-attr-paths' into development
This resolves issue #535 and issue #533.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/resources/attr/.gitted/info/attributes | 2 | ||||
| -rw-r--r-- | tests/resources/attr/file | 1 | ||||
| -rw-r--r-- | tests/resources/attr/gitignore | 2 | ||||
| -rw-r--r-- | tests/resources/attr/ign | 1 | ||||
| -rw-r--r-- | tests/resources/attr/sub/.gitattributes (renamed from tests/resources/attr/subdir/.gitattributes) | 4 | ||||
| -rw-r--r-- | tests/resources/attr/sub/abc (renamed from tests/resources/attr/subdir/abc) | 0 | ||||
| -rw-r--r-- | tests/resources/attr/sub/file | 1 | ||||
| -rw-r--r-- | tests/resources/attr/sub/ign | 1 | ||||
| -rw-r--r-- | tests/resources/attr/sub/sub/file | 1 | ||||
| -rw-r--r-- | tests/resources/attr/sub/sub/subsub.txt | 1 | ||||
| -rw-r--r-- | tests/resources/attr/sub/subdir_test1 (renamed from tests/resources/attr/subdir/subdir_test1) | 0 | ||||
| -rw-r--r-- | tests/resources/attr/sub/subdir_test2.txt (renamed from tests/resources/attr/subdir/subdir_test2.txt) | 0 | ||||
| -rw-r--r-- | tests/resources/attr/subdir2/subdir2_test1 | 1 |
13 files changed, 13 insertions, 2 deletions
diff --git a/tests/resources/attr/.gitted/info/attributes b/tests/resources/attr/.gitted/info/attributes index 2e9643a53..5fe62a37a 100644 --- a/tests/resources/attr/.gitted/info/attributes +++ b/tests/resources/attr/.gitted/info/attributes @@ -1,2 +1,4 @@ * repoattr a* foo !bar -baz +sub/*.txt reposub +sub/sub/*.txt reposubsub diff --git a/tests/resources/attr/file b/tests/resources/attr/file new file mode 100644 index 000000000..45b983be3 --- /dev/null +++ b/tests/resources/attr/file @@ -0,0 +1 @@ +hi diff --git a/tests/resources/attr/gitignore b/tests/resources/attr/gitignore new file mode 100644 index 000000000..66f77694e --- /dev/null +++ b/tests/resources/attr/gitignore @@ -0,0 +1,2 @@ +sub +ign diff --git a/tests/resources/attr/ign b/tests/resources/attr/ign new file mode 100644 index 000000000..592fd2594 --- /dev/null +++ b/tests/resources/attr/ign @@ -0,0 +1 @@ +ignore me diff --git a/tests/resources/attr/subdir/.gitattributes b/tests/resources/attr/sub/.gitattributes index 99eae4768..329c1c5b8 100644 --- a/tests/resources/attr/subdir/.gitattributes +++ b/tests/resources/attr/sub/.gitattributes @@ -1,5 +1,7 @@ * subattr=yes -negattr -subdir/*.txt another=one +*.txt another=zero +sub/*.txt another=one ab* merge=filfre abc -foo -bar *.c frotz +deep/file deepdeep diff --git a/tests/resources/attr/subdir/abc b/tests/resources/attr/sub/abc index 3e42ffc54..3e42ffc54 100644 --- a/tests/resources/attr/subdir/abc +++ b/tests/resources/attr/sub/abc diff --git a/tests/resources/attr/sub/file b/tests/resources/attr/sub/file new file mode 100644 index 000000000..45b983be3 --- /dev/null +++ b/tests/resources/attr/sub/file @@ -0,0 +1 @@ +hi diff --git a/tests/resources/attr/sub/ign b/tests/resources/attr/sub/ign new file mode 100644 index 000000000..592fd2594 --- /dev/null +++ b/tests/resources/attr/sub/ign @@ -0,0 +1 @@ +ignore me diff --git a/tests/resources/attr/sub/sub/file b/tests/resources/attr/sub/sub/file new file mode 100644 index 000000000..45b983be3 --- /dev/null +++ b/tests/resources/attr/sub/sub/file @@ -0,0 +1 @@ +hi diff --git a/tests/resources/attr/sub/sub/subsub.txt b/tests/resources/attr/sub/sub/subsub.txt new file mode 100644 index 000000000..9e5bdc47d --- /dev/null +++ b/tests/resources/attr/sub/sub/subsub.txt @@ -0,0 +1 @@ +subsub diff --git a/tests/resources/attr/subdir/subdir_test1 b/tests/resources/attr/sub/subdir_test1 index e563cf475..e563cf475 100644 --- a/tests/resources/attr/subdir/subdir_test1 +++ b/tests/resources/attr/sub/subdir_test1 diff --git a/tests/resources/attr/subdir/subdir_test2.txt b/tests/resources/attr/sub/subdir_test2.txt index fb5067b1a..fb5067b1a 100644 --- a/tests/resources/attr/subdir/subdir_test2.txt +++ b/tests/resources/attr/sub/subdir_test2.txt diff --git a/tests/resources/attr/subdir2/subdir2_test1 b/tests/resources/attr/subdir2/subdir2_test1 deleted file mode 100644 index dccada462..000000000 --- a/tests/resources/attr/subdir2/subdir2_test1 +++ /dev/null @@ -1 +0,0 @@ -Hello from subdir2 |
