mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-12-01 22:52:01 +02:00
add tests for diffing
This commit is contained in:
@@ -0,0 +1 @@
|
||||
test
|
||||
1
test/integration/diffing/expected/.git_keep/HEAD
Normal file
1
test/integration/diffing/expected/.git_keep/HEAD
Normal file
@@ -0,0 +1 @@
|
||||
ref: refs/heads/branch2
|
||||
10
test/integration/diffing/expected/.git_keep/config
Normal file
10
test/integration/diffing/expected/.git_keep/config
Normal file
@@ -0,0 +1,10 @@
|
||||
[core]
|
||||
repositoryformatversion = 0
|
||||
filemode = true
|
||||
bare = false
|
||||
logallrefupdates = true
|
||||
ignorecase = true
|
||||
precomposeunicode = true
|
||||
[user]
|
||||
email = CI@example.com
|
||||
name = CI
|
||||
1
test/integration/diffing/expected/.git_keep/description
Normal file
1
test/integration/diffing/expected/.git_keep/description
Normal file
@@ -0,0 +1 @@
|
||||
Unnamed repository; edit this file 'description' to name the repository.
|
||||
BIN
test/integration/diffing/expected/.git_keep/index
Normal file
BIN
test/integration/diffing/expected/.git_keep/index
Normal file
Binary file not shown.
7
test/integration/diffing/expected/.git_keep/info/exclude
Normal file
7
test/integration/diffing/expected/.git_keep/info/exclude
Normal file
@@ -0,0 +1,7 @@
|
||||
# git ls-files --others --exclude-from=.git/info/exclude
|
||||
# Lines that start with '#' are comments.
|
||||
# For a project mostly in C, the following would be a good set of
|
||||
# exclude patterns (uncomment them if you want to use them):
|
||||
# *.[oa]
|
||||
# *~
|
||||
.DS_Store
|
||||
9
test/integration/diffing/expected/.git_keep/logs/HEAD
Normal file
9
test/integration/diffing/expected/.git_keep/logs/HEAD
Normal file
@@ -0,0 +1,9 @@
|
||||
0000000000000000000000000000000000000000 5751731b38a36f8eb54a4bb304522ca539e04522 CI <CI@example.com> 1617680560 +1000 commit (initial): file0
|
||||
5751731b38a36f8eb54a4bb304522ca539e04522 d15e253139400c94b42fc266641d1698720d4ecf CI <CI@example.com> 1617680560 +1000 commit: file1
|
||||
d15e253139400c94b42fc266641d1698720d4ecf 0519814b4923f4639f1a47348b1539e3c5c54904 CI <CI@example.com> 1617680560 +1000 commit: file2
|
||||
0519814b4923f4639f1a47348b1539e3c5c54904 144da8a531224129210249f43dded86056891506 CI <CI@example.com> 1617680561 +1000 commit: file4
|
||||
144da8a531224129210249f43dded86056891506 144da8a531224129210249f43dded86056891506 CI <CI@example.com> 1617680561 +1000 checkout: moving from master to branch2
|
||||
144da8a531224129210249f43dded86056891506 96a6d041bbb131df0e74d179c3adcd2ace0e7f9c CI <CI@example.com> 1617680561 +1000 commit: file4
|
||||
96a6d041bbb131df0e74d179c3adcd2ace0e7f9c 75b31f81dd4387724638dbd3aff7380155c672cd CI <CI@example.com> 1617680561 +1000 commit: file4
|
||||
75b31f81dd4387724638dbd3aff7380155c672cd f677ef8a14ca2770e48129cc13acfa1c369908cc CI <CI@example.com> 1617680561 +1000 commit: file2
|
||||
f677ef8a14ca2770e48129cc13acfa1c369908cc a100b407f33fd2e97a3cb6f62b68ed6b7cc6c676 CI <CI@example.com> 1617680570 +1000 commit: test
|
||||
@@ -0,0 +1,5 @@
|
||||
0000000000000000000000000000000000000000 144da8a531224129210249f43dded86056891506 CI <CI@example.com> 1617680561 +1000 branch: Created from HEAD
|
||||
144da8a531224129210249f43dded86056891506 96a6d041bbb131df0e74d179c3adcd2ace0e7f9c CI <CI@example.com> 1617680561 +1000 commit: file4
|
||||
96a6d041bbb131df0e74d179c3adcd2ace0e7f9c 75b31f81dd4387724638dbd3aff7380155c672cd CI <CI@example.com> 1617680561 +1000 commit: file4
|
||||
75b31f81dd4387724638dbd3aff7380155c672cd f677ef8a14ca2770e48129cc13acfa1c369908cc CI <CI@example.com> 1617680561 +1000 commit: file2
|
||||
f677ef8a14ca2770e48129cc13acfa1c369908cc a100b407f33fd2e97a3cb6f62b68ed6b7cc6c676 CI <CI@example.com> 1617680570 +1000 commit: test
|
||||
@@ -0,0 +1,4 @@
|
||||
0000000000000000000000000000000000000000 5751731b38a36f8eb54a4bb304522ca539e04522 CI <CI@example.com> 1617680560 +1000 commit (initial): file0
|
||||
5751731b38a36f8eb54a4bb304522ca539e04522 d15e253139400c94b42fc266641d1698720d4ecf CI <CI@example.com> 1617680560 +1000 commit: file1
|
||||
d15e253139400c94b42fc266641d1698720d4ecf 0519814b4923f4639f1a47348b1539e3c5c54904 CI <CI@example.com> 1617680560 +1000 commit: file2
|
||||
0519814b4923f4639f1a47348b1539e3c5c54904 144da8a531224129210249f43dded86056891506 CI <CI@example.com> 1617680561 +1000 commit: file4
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,2 @@
|
||||
x��A
|
||||
�0@Q�9E��d�I2"BW=�$N�`l)<�=���[�����OcW���ieR �U��K�B��E�K��əMv}�"0d��
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,2 @@
|
||||
x+)JMU03c040031QH��I5`������ֶw���w.��h�T�[H
|
||||
��y�W5�Ɨ��(�|�^-�W(x9
|
||||
@@ -0,0 +1,2 @@
|
||||
x��K
|
||||
�0@��)f_(3��Rp�1&�HSER��+=Aw��[<�j]P��v�)�d�,�vrq.�8�yrjF�}�dv>�� �@�Qq�e�%x��8��Z�������=���a|�����M�z��b�!"\ �iϩ��f^V%�Hr8�
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,3 @@
|
||||
x��M
|
||||
�0@a�9E��d�33��c�L���R"x|{��o�����-��U�D��������`Ձ��*Ii���]}wKiPJ���|��e.Aj��R�H>#���;N�>NO�J�W���=, �K�
|
||||
�9s�s�����eUo~b,9O
|
||||
@@ -0,0 +1 @@
|
||||
a100b407f33fd2e97a3cb6f62b68ed6b7cc6c676
|
||||
@@ -0,0 +1 @@
|
||||
144da8a531224129210249f43dded86056891506
|
||||
1
test/integration/diffing/expected/file0
Normal file
1
test/integration/diffing/expected/file0
Normal file
@@ -0,0 +1 @@
|
||||
test0
|
||||
1
test/integration/diffing/expected/file1
Normal file
1
test/integration/diffing/expected/file1
Normal file
@@ -0,0 +1 @@
|
||||
test1
|
||||
1
test/integration/diffing/expected/file2
Normal file
1
test/integration/diffing/expected/file2
Normal file
@@ -0,0 +1 @@
|
||||
test2
|
||||
1
test/integration/diffing/expected/file4
Normal file
1
test/integration/diffing/expected/file4
Normal file
@@ -0,0 +1 @@
|
||||
line one
|
||||
Reference in New Issue
Block a user