migrate pull integration test

This commit is contained in:
Jesse Duffield 2023-02-19 11:48:17 +11:00
parent f999bbce7c
commit c599aaed51
51 changed files with 44 additions and 115 deletions

View file

@ -1 +0,0 @@
ref: refs/heads/master

View file

@ -1,8 +0,0 @@
[core]
repositoryformatversion = 0
filemode = true
bare = true
ignorecase = true
precomposeunicode = true
[remote "origin"]
url = /Users/jesseduffieldduffield/go/src/github.com/jesseduffield/lazygit/test/integration/pull/actual/./repo

View file

@ -1 +0,0 @@
Unnamed repository; edit this file 'description' to name the repository.

View file

@ -1,7 +0,0 @@
# 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

View file

@ -1,2 +0,0 @@
x<01>ÍA
ƒ0@Ñ®sŠÙJÆŒãJ\yŒ˜L¨à<C2A8>")´·×#tûyðS5[ ñ¥íªà•Sñ—á®…³`± ´PÈL%¦¾sñÓ^u‡i†Ç4<C387>ú<EFBFBD>öÞôª=™$<24>pàŠè½;ë9iú'wö+ë¦è49,Ù

View file

@ -1,3 +0,0 @@
x<01>ŽA
à E»öî Åq4*”RÈ*ÇÐq†j‚…ööõ]}x¼Ÿ¶ÖÖ®!¹S?˜µ-<10>âU¢d‡"¹J4 %?XíùàWס¤œ@SÉÆJõ¾AÁ` <0B>œc
“ÊïþØ=/ú:/wþä¶?ùB[»i˜\D'<27>ú tœêü§®ÚWÖ'£ú};¦

View file

@ -1,2 +0,0 @@
# pack-refs with: peeled fully-peeled sorted
97bf06c598032ab5ad0faf744c91545071f3cb38 refs/heads/master

View file

@ -1 +0,0 @@
97bf06c598032ab5ad0faf744c91545071f3cb38 branch 'master' of ../origin

View file

@ -1 +0,0 @@
ref: refs/heads/master

View file

@ -1 +0,0 @@
7b9a91f4ecba02fd55dbf3f372bc3faee3897939

View file

@ -1,16 +0,0 @@
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
ignorecase = true
precomposeunicode = true
[user]
email = CI@example.com
name = CI
[remote "origin"]
url = ../origin
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
remote = origin
merge = refs/heads/master

View file

@ -1 +0,0 @@
Unnamed repository; edit this file 'description' to name the repository.

View file

@ -1,7 +0,0 @@
# 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

View file

@ -1,7 +0,0 @@
0000000000000000000000000000000000000000 3ea0c134bed03d0a2cb7eeaff586af277d137129 CI <CI@example.com> 1648348653 +1100 commit (initial): myfile1
3ea0c134bed03d0a2cb7eeaff586af277d137129 7b9a91f4ecba02fd55dbf3f372bc3faee3897939 CI <CI@example.com> 1648348653 +1100 commit: myfile2
7b9a91f4ecba02fd55dbf3f372bc3faee3897939 f0eb4a85b26f51dc8c23e31bb7f541f0e2d1d2d0 CI <CI@example.com> 1648348653 +1100 commit: myfile3
f0eb4a85b26f51dc8c23e31bb7f541f0e2d1d2d0 97bf06c598032ab5ad0faf744c91545071f3cb38 CI <CI@example.com> 1648348653 +1100 commit: myfile4
97bf06c598032ab5ad0faf744c91545071f3cb38 7b9a91f4ecba02fd55dbf3f372bc3faee3897939 CI <CI@example.com> 1648348653 +1100 reset: moving to HEAD~2
7b9a91f4ecba02fd55dbf3f372bc3faee3897939 97bf06c598032ab5ad0faf744c91545071f3cb38 CI <CI@example.com> 1648348654 +1100 rebase -i (start): checkout 97bf06c598032ab5ad0faf744c91545071f3cb38
97bf06c598032ab5ad0faf744c91545071f3cb38 97bf06c598032ab5ad0faf744c91545071f3cb38 CI <CI@example.com> 1648348654 +1100 rebase -i (finish): returning to refs/heads/master

View file

@ -1,6 +0,0 @@
0000000000000000000000000000000000000000 3ea0c134bed03d0a2cb7eeaff586af277d137129 CI <CI@example.com> 1648348653 +1100 commit (initial): myfile1
3ea0c134bed03d0a2cb7eeaff586af277d137129 7b9a91f4ecba02fd55dbf3f372bc3faee3897939 CI <CI@example.com> 1648348653 +1100 commit: myfile2
7b9a91f4ecba02fd55dbf3f372bc3faee3897939 f0eb4a85b26f51dc8c23e31bb7f541f0e2d1d2d0 CI <CI@example.com> 1648348653 +1100 commit: myfile3
f0eb4a85b26f51dc8c23e31bb7f541f0e2d1d2d0 97bf06c598032ab5ad0faf744c91545071f3cb38 CI <CI@example.com> 1648348653 +1100 commit: myfile4
97bf06c598032ab5ad0faf744c91545071f3cb38 7b9a91f4ecba02fd55dbf3f372bc3faee3897939 CI <CI@example.com> 1648348653 +1100 reset: moving to HEAD~2
7b9a91f4ecba02fd55dbf3f372bc3faee3897939 97bf06c598032ab5ad0faf744c91545071f3cb38 CI <CI@example.com> 1648348654 +1100 rebase -i (finish): refs/heads/master onto 97bf06c598032ab5ad0faf744c91545071f3cb38

View file

@ -1 +0,0 @@
0000000000000000000000000000000000000000 97bf06c598032ab5ad0faf744c91545071f3cb38 CI <CI@example.com> 1648348653 +1100 fetch origin: storing head

View file

@ -1,2 +0,0 @@
x<01>ÍA
ƒ0@Ñ®sŠÙJÆŒãJ\yŒ˜L¨à<C2A8>")´·×#tûyðS5[ ñ¥íªà•Sñ—á®…³`± ´PÈL%¦¾sñÓ^u‡i†Ç4<C387>ú<EFBFBD>öÞôª=™$<24>pàŠè½;ë9iú'wö+ë¦è49,Ù

View file

@ -1,3 +0,0 @@
x<01>ŽA
à E»öî Åq4*”RÈ*ÇÐq†j‚…ööõ]}x¼Ÿ¶ÖÖ®!¹S?˜µ-<10>âU¢d‡"¹J4 %?XíùàWס¤œ@SÉÆJõ¾AÁ` <0B>œc
“ÊïþØ=/ú:/wþä¶?ùB[»i˜\D'<27>ú tœêü§®ÚWÖ'£ú};¦

View file

@ -1 +0,0 @@
97bf06c598032ab5ad0faf744c91545071f3cb38

View file

@ -1 +0,0 @@
97bf06c598032ab5ad0faf744c91545071f3cb38

View file

@ -1 +0,0 @@
test1

View file

@ -1 +0,0 @@
test2

View file

@ -1 +0,0 @@
test3

View file

@ -1 +0,0 @@
test4

View file

@ -1 +0,0 @@
{"KeyEvents":[{"Timestamp":618,"Mod":0,"Key":256,"Ch":112},{"Timestamp":1225,"Mod":0,"Key":256,"Ch":113}],"ResizeEvents":[{"Timestamp":0,"Width":272,"Height":74}]}

View file

@ -1,36 +0,0 @@
#!/bin/sh
set -e
set -e
cd $1
git init
git config user.email "CI@example.com"
git config user.name "CI"
echo test1 > myfile1
git add .
git commit -am "myfile1"
echo test2 > myfile2
git add .
git commit -am "myfile2"
echo test3 > myfile3
git add .
git commit -am "myfile3"
echo test4 > myfile4
git add .
git commit -am "myfile4"
cd ..
git clone --bare ./repo origin
cd repo
# the test is to ensure that we actually can pull these two commits back from the origin
git reset --hard HEAD~2
git remote add origin ../origin
git fetch origin
git branch --set-upstream-to=origin/master master

View file

@ -1 +0,0 @@
{ "description": "pull changes from the remote", "speed": 10 }