Skip to content

Commit ff25ec8

Browse files
committed
tests: add a subdirectory to crlf tests
Add a subdirectory in the crlf.git bare repository that has a second-level .gitattribute file.
1 parent 3661e35 commit ff25ec8

File tree

12 files changed

+25
-5
lines changed

12 files changed

+25
-5
lines changed

tests/resources/crlf.git/COMMIT_EDITMSG

Lines changed: 0 additions & 1 deletion
This file was deleted.

tests/resources/crlf.git/config

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
11
[core]
22
repositoryformatversion = 0
3-
bare = true
3+
filemode = true
4+
bare = false
5+
logallrefupdates = true
6+
ignorecase = true
7+
precomposeunicode = true
8+
[remote "origin"]
9+
url = /Users/ethomson/libgit2/libgit2-3/tests/resources/crlf.git
10+
fetch = +refs/heads/*:refs/remotes/origin/*
11+
[branch "master"]
12+
remote = origin
13+
merge = refs/heads/master

tests/resources/crlf.git/logs/HEAD

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
5afb6a14a864e30787857dd92af837e8cdd2cb1b 6b9d5748663795f573ea857276eb2a5f8330efa0 Edward Thomson <ethomson@edwardthomson.com> 1561324263 +0100 commit: Add .gitattributes
1+
0000000000000000000000000000000000000000 6b9d5748663795f573ea857276eb2a5f8330efa0 Edward Thomson <ethomson@edwardthomson.com> 1563721143 +0100 clone: from /Users/ethomson/libgit2/libgit2-3/tests/resources/crlf.git
2+
6b9d5748663795f573ea857276eb2a5f8330efa0 124f4293444614aa8da53be149792c2e43e9bfd9 Edward Thomson <ethomson@edwardthomson.com> 1563721187 +0100 commit: subdir with no translation
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
5afb6a14a864e30787857dd92af837e8cdd2cb1b 6b9d5748663795f573ea857276eb2a5f8330efa0 Edward Thomson <ethomson@edwardthomson.com> 1561324263 +0100 commit: Add .gitattributes
1+
0000000000000000000000000000000000000000 6b9d5748663795f573ea857276eb2a5f8330efa0 Edward Thomson <ethomson@edwardthomson.com> 1563721143 +0100 clone: from /Users/ethomson/libgit2/libgit2-3/tests/resources/crlf.git
2+
6b9d5748663795f573ea857276eb2a5f8330efa0 124f4293444614aa8da53be149792c2e43e9bfd9 Edward Thomson <ethomson@edwardthomson.com> 1563721187 +0100 commit: subdir with no translation
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
0000000000000000000000000000000000000000 6b9d5748663795f573ea857276eb2a5f8330efa0 Edward Thomson <ethomson@edwardthomson.com> 1563721143 +0100 clone: from /Users/ethomson/libgit2/libgit2-3/tests/resources/crlf.git
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
x��]
2+
�0�}�)�]��m���/�� l�--�D��oo���|�IJ�K�ԡUf`"Ǩ=�h��쭱Q*�.80y�ʹ�����pBo�z���p
3+
�H�H
4+
��\*�ҋj��\֭d8s�w�o�K�X� (�Z���(����~��3b�ǴTx-m�\�U�ۃ�R�xj�U�
Binary file not shown.
Binary file not shown.
Binary file not shown.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# pack-refs with: peeled fully-peeled sorted
2+
9687e444bcbb85645cb496080434c292f1b57182 refs/remotes/origin/empty-files
3+
6b9d5748663795f573ea857276eb2a5f8330efa0 refs/remotes/origin/master

0 commit comments

Comments
 (0)