mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-12-18 00:07:51 +02:00
add tests for dealing with remotes
This commit is contained in:
1
test/integration/push/expected/.git_keep/COMMIT_EDITMSG
Normal file
1
test/integration/push/expected/.git_keep/COMMIT_EDITMSG
Normal file
@@ -0,0 +1 @@
|
||||
myfile4
|
||||
1
test/integration/push/expected/.git_keep/FETCH_HEAD
Normal file
1
test/integration/push/expected/.git_keep/FETCH_HEAD
Normal file
@@ -0,0 +1 @@
|
||||
547f41a06ebd3bee30fbba3f43631810fa24f1bb branch 'master' of ../actual_remote
|
||||
1
test/integration/push/expected/.git_keep/HEAD
Normal file
1
test/integration/push/expected/.git_keep/HEAD
Normal file
@@ -0,0 +1 @@
|
||||
ref: refs/heads/master
|
||||
16
test/integration/push/expected/.git_keep/config
Normal file
16
test/integration/push/expected/.git_keep/config
Normal file
@@ -0,0 +1,16 @@
|
||||
[core]
|
||||
repositoryformatversion = 0
|
||||
filemode = true
|
||||
bare = false
|
||||
logallrefupdates = true
|
||||
ignorecase = true
|
||||
precomposeunicode = true
|
||||
[user]
|
||||
email = CI@example.com
|
||||
name = CI
|
||||
[remote "origin"]
|
||||
url = ../actual_remote
|
||||
fetch = +refs/heads/*:refs/remotes/origin/*
|
||||
[branch "master"]
|
||||
remote = origin
|
||||
merge = refs/heads/master
|
||||
1
test/integration/push/expected/.git_keep/description
Normal file
1
test/integration/push/expected/.git_keep/description
Normal file
@@ -0,0 +1 @@
|
||||
Unnamed repository; edit this file 'description' to name the repository.
|
||||
BIN
test/integration/push/expected/.git_keep/index
Normal file
BIN
test/integration/push/expected/.git_keep/index
Normal file
Binary file not shown.
7
test/integration/push/expected/.git_keep/info/exclude
Normal file
7
test/integration/push/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
|
||||
4
test/integration/push/expected/.git_keep/logs/HEAD
Normal file
4
test/integration/push/expected/.git_keep/logs/HEAD
Normal file
@@ -0,0 +1,4 @@
|
||||
0000000000000000000000000000000000000000 eb831bc1251f71f602159d98f4550e380007ca4f CI <CI@example.com> 1634897746 +1100 commit (initial): myfile1
|
||||
eb831bc1251f71f602159d98f4550e380007ca4f 547f41a06ebd3bee30fbba3f43631810fa24f1bb CI <CI@example.com> 1634897746 +1100 commit: myfile2
|
||||
547f41a06ebd3bee30fbba3f43631810fa24f1bb a09547e07257ed0456f498fde1b8214152427384 CI <CI@example.com> 1634897746 +1100 commit: myfile3
|
||||
a09547e07257ed0456f498fde1b8214152427384 a6e580c7c3c4ea40bc311466d57a946bb3f77541 CI <CI@example.com> 1634897746 +1100 commit: myfile4
|
||||
@@ -0,0 +1,4 @@
|
||||
0000000000000000000000000000000000000000 eb831bc1251f71f602159d98f4550e380007ca4f CI <CI@example.com> 1634897746 +1100 commit (initial): myfile1
|
||||
eb831bc1251f71f602159d98f4550e380007ca4f 547f41a06ebd3bee30fbba3f43631810fa24f1bb CI <CI@example.com> 1634897746 +1100 commit: myfile2
|
||||
547f41a06ebd3bee30fbba3f43631810fa24f1bb a09547e07257ed0456f498fde1b8214152427384 CI <CI@example.com> 1634897746 +1100 commit: myfile3
|
||||
a09547e07257ed0456f498fde1b8214152427384 a6e580c7c3c4ea40bc311466d57a946bb3f77541 CI <CI@example.com> 1634897746 +1100 commit: myfile4
|
||||
@@ -0,0 +1,2 @@
|
||||
0000000000000000000000000000000000000000 547f41a06ebd3bee30fbba3f43631810fa24f1bb CI <CI@example.com> 1634897746 +1100 fetch origin: storing head
|
||||
547f41a06ebd3bee30fbba3f43631810fa24f1bb a6e580c7c3c4ea40bc311466d57a946bb3f77541 CI <CI@example.com> 1634897748 +1100 update by push
|
||||
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��A
|
||||
�0E]����L�"BW=�L:��ƖAoo�����=�y+e��t�����)�l�hLh�3���� t�o���|����#�UfU&��∐ wd ��]���������.�����������@џBp��SU��]�ڲ*�`L;W
|
||||
Binary file not shown.
@@ -0,0 +1,4 @@
|
||||
x��M
|
||||
�0@a�9E���$���H� �-%��^����-��t��}7��
|
||||
*CL@1U�E8��b*�"O�3������@fR
|
||||
�6�TʩΆc
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,2 @@
|
||||
x��A
|
||||
�0@Ѯs��JF����<ƘL���")���#t�y�S5[ ������S��K4f"��9b'X-�g�"��9��W�a��1ͣ~�ޛ�R�' �������;�9i�'w�+���6�,�
|
||||
@@ -0,0 +1 @@
|
||||
a6e580c7c3c4ea40bc311466d57a946bb3f77541
|
||||
@@ -0,0 +1 @@
|
||||
a6e580c7c3c4ea40bc311466d57a946bb3f77541
|
||||
1
test/integration/push/expected/myfile1
Normal file
1
test/integration/push/expected/myfile1
Normal file
@@ -0,0 +1 @@
|
||||
test1
|
||||
1
test/integration/push/expected/myfile2
Normal file
1
test/integration/push/expected/myfile2
Normal file
@@ -0,0 +1 @@
|
||||
test2
|
||||
1
test/integration/push/expected/myfile3
Normal file
1
test/integration/push/expected/myfile3
Normal file
@@ -0,0 +1 @@
|
||||
test3
|
||||
1
test/integration/push/expected/myfile4
Normal file
1
test/integration/push/expected/myfile4
Normal file
@@ -0,0 +1 @@
|
||||
test4
|
||||
Reference in New Issue
Block a user