add merge conflict undo integration test

This commit is contained in:
Jesse Duffield
2021-04-02 10:28:59 +11:00
parent 035726f650
commit bdf2b2d5c4
108 changed files with 381 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
Merge branch 'develop' into other_branch
# Conflicts:
# directory/file
# directory/file2
# file1
# file3
# file4
# file5
#
# It looks like you may be committing a merge.
# If this is not correct, please remove the file
# /Users/jesseduffieldduffield/go/src/github.com/jesseduffield/lazygit/test/integration/mergeConflictUndo/actual/.git/MERGE_HEAD
# and try again.
# Please enter the commit message for your changes. Lines starting
# with '#' will be ignored, and an empty message aborts the commit.
#
# On branch other_branch
# All conflicts fixed but you are still merging.
#
# Changes to be committed:
# new file: cherrypicking1
# new file: cherrypicking2
# new file: cherrypicking3
# new file: cherrypicking4
# new file: cherrypicking5
# new file: cherrypicking6
# new file: cherrypicking7
# new file: cherrypicking8
# new file: cherrypicking9
# modified: directory/file
# modified: file1
#

View File

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

View File

@@ -0,0 +1 @@
ab172f11e9d1ffc28e53b7c5504f173bf1b27527

View 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

View File

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

View 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

View File

@@ -0,0 +1,34 @@
0000000000000000000000000000000000000000 db35d1bf1bfbb57b4b345ee4f6f0554e9e72b015 CI <CI@example.com> 1617319581 +1100 commit (initial): first commit
db35d1bf1bfbb57b4b345ee4f6f0554e9e72b015 db35d1bf1bfbb57b4b345ee4f6f0554e9e72b015 CI <CI@example.com> 1617319581 +1100 checkout: moving from master to feature/cherry-picking
db35d1bf1bfbb57b4b345ee4f6f0554e9e72b015 1e953a069f4b657c300ea0464ecc13f9c2e34905 CI <CI@example.com> 1617319581 +1100 commit: first commit freshman year
1e953a069f4b657c300ea0464ecc13f9c2e34905 58151e1e14571021b5d38d941538a2e3c3d0e7a9 CI <CI@example.com> 1617319581 +1100 commit: second commit subway eat fresh
58151e1e14571021b5d38d941538a2e3c3d0e7a9 289b2994fdad04740a383797513c39dd183c87d3 CI <CI@example.com> 1617319581 +1100 commit: third commit fresh
289b2994fdad04740a383797513c39dd183c87d3 36d36a1d6a6e1fb7305747cf1cfedac0d3826e3e CI <CI@example.com> 1617319581 +1100 commit: fourth commit cool
36d36a1d6a6e1fb7305747cf1cfedac0d3826e3e 7f983b882d71782f6520493b14e45b1eb3888a57 CI <CI@example.com> 1617319581 +1100 commit: fifth commit nice
7f983b882d71782f6520493b14e45b1eb3888a57 8146e9924caf0aa2d21db44095ae5a0b0f6e1ce4 CI <CI@example.com> 1617319581 +1100 commit: sixth commit haha
8146e9924caf0aa2d21db44095ae5a0b0f6e1ce4 2c2a4608db50f4c6df0e4580119fd2627d160acd CI <CI@example.com> 1617319581 +1100 commit: seventh commit yeah
2c2a4608db50f4c6df0e4580119fd2627d160acd 7d80e0ed109e6802aa1f23a473200c9af3f8cf61 CI <CI@example.com> 1617319581 +1100 commit: eighth commit woo
7d80e0ed109e6802aa1f23a473200c9af3f8cf61 7d80e0ed109e6802aa1f23a473200c9af3f8cf61 CI <CI@example.com> 1617319581 +1100 checkout: moving from feature/cherry-picking to develop
7d80e0ed109e6802aa1f23a473200c9af3f8cf61 e503834faae098b6e456c2e2ab921737b3fd957c CI <CI@example.com> 1617319581 +1100 commit: first commit on develop
e503834faae098b6e456c2e2ab921737b3fd957c db35d1bf1bfbb57b4b345ee4f6f0554e9e72b015 CI <CI@example.com> 1617319581 +1100 checkout: moving from develop to master
db35d1bf1bfbb57b4b345ee4f6f0554e9e72b015 cad08b7e2fbbabb2235cc4ca7785f8ba00247d50 CI <CI@example.com> 1617319581 +1100 commit: first commit on master
cad08b7e2fbbabb2235cc4ca7785f8ba00247d50 e503834faae098b6e456c2e2ab921737b3fd957c CI <CI@example.com> 1617319581 +1100 checkout: moving from master to develop
e503834faae098b6e456c2e2ab921737b3fd957c 9e0b31da5b56c4dd7230a85fee330246c16845ac CI <CI@example.com> 1617319581 +1100 commit: second commit on develop
9e0b31da5b56c4dd7230a85fee330246c16845ac cad08b7e2fbbabb2235cc4ca7785f8ba00247d50 CI <CI@example.com> 1617319581 +1100 checkout: moving from develop to master
cad08b7e2fbbabb2235cc4ca7785f8ba00247d50 af2cd230f86b71f1b77a2b13fd090d88f13575e9 CI <CI@example.com> 1617319581 +1100 commit: second commit on master
af2cd230f86b71f1b77a2b13fd090d88f13575e9 9e0b31da5b56c4dd7230a85fee330246c16845ac CI <CI@example.com> 1617319581 +1100 checkout: moving from master to develop
9e0b31da5b56c4dd7230a85fee330246c16845ac 084111cdf3945cf795dfa651723e7e6a927e48ef CI <CI@example.com> 1617319581 +1100 commit: third commit on develop
084111cdf3945cf795dfa651723e7e6a927e48ef af2cd230f86b71f1b77a2b13fd090d88f13575e9 CI <CI@example.com> 1617319581 +1100 checkout: moving from develop to master
af2cd230f86b71f1b77a2b13fd090d88f13575e9 627a99630df8cc12c4acdebac3e3e8af1adf9711 CI <CI@example.com> 1617319581 +1100 commit: third commit on master
627a99630df8cc12c4acdebac3e3e8af1adf9711 084111cdf3945cf795dfa651723e7e6a927e48ef CI <CI@example.com> 1617319581 +1100 checkout: moving from master to develop
084111cdf3945cf795dfa651723e7e6a927e48ef 8b7aa507318e42a4efdae2c867d89590bbce48e5 CI <CI@example.com> 1617319581 +1100 commit: fourth commit on develop
8b7aa507318e42a4efdae2c867d89590bbce48e5 627a99630df8cc12c4acdebac3e3e8af1adf9711 CI <CI@example.com> 1617319581 +1100 checkout: moving from develop to master
627a99630df8cc12c4acdebac3e3e8af1adf9711 5e9fe3aa0c84eab154f6f8796804b9e2e0ab0401 CI <CI@example.com> 1617319581 +1100 commit: fourth commit on master
5e9fe3aa0c84eab154f6f8796804b9e2e0ab0401 5e9fe3aa0c84eab154f6f8796804b9e2e0ab0401 CI <CI@example.com> 1617319581 +1100 checkout: moving from master to base_branch
5e9fe3aa0c84eab154f6f8796804b9e2e0ab0401 7fdf0429a1e95f38736a260c5ed4121aa5d6e76f CI <CI@example.com> 1617319581 +1100 commit: file
7fdf0429a1e95f38736a260c5ed4121aa5d6e76f 7fdf0429a1e95f38736a260c5ed4121aa5d6e76f CI <CI@example.com> 1617319581 +1100 checkout: moving from base_branch to other_branch
7fdf0429a1e95f38736a260c5ed4121aa5d6e76f 7fdf0429a1e95f38736a260c5ed4121aa5d6e76f CI <CI@example.com> 1617319581 +1100 checkout: moving from other_branch to base_branch
7fdf0429a1e95f38736a260c5ed4121aa5d6e76f c4b40606be30048d61ed9bb55e21ecd612f34d7d CI <CI@example.com> 1617319581 +1100 commit: file changed
c4b40606be30048d61ed9bb55e21ecd612f34d7d 7fdf0429a1e95f38736a260c5ed4121aa5d6e76f CI <CI@example.com> 1617319581 +1100 checkout: moving from base_branch to other_branch
7fdf0429a1e95f38736a260c5ed4121aa5d6e76f ab172f11e9d1ffc28e53b7c5504f173bf1b27527 CI <CI@example.com> 1617319582 +1100 commit: asd
ab172f11e9d1ffc28e53b7c5504f173bf1b27527 0a71a0176c3eb0a7ccba7e8e675743aecb362f3a CI <CI@example.com> 1617319602 +1100 commit (merge): Merge branch 'develop' into other_branch

View File

@@ -0,0 +1,3 @@
0000000000000000000000000000000000000000 5e9fe3aa0c84eab154f6f8796804b9e2e0ab0401 CI <CI@example.com> 1617319581 +1100 branch: Created from HEAD
5e9fe3aa0c84eab154f6f8796804b9e2e0ab0401 7fdf0429a1e95f38736a260c5ed4121aa5d6e76f CI <CI@example.com> 1617319581 +1100 commit: file
7fdf0429a1e95f38736a260c5ed4121aa5d6e76f c4b40606be30048d61ed9bb55e21ecd612f34d7d CI <CI@example.com> 1617319581 +1100 commit: file changed

View File

@@ -0,0 +1,5 @@
0000000000000000000000000000000000000000 7d80e0ed109e6802aa1f23a473200c9af3f8cf61 CI <CI@example.com> 1617319581 +1100 branch: Created from HEAD
7d80e0ed109e6802aa1f23a473200c9af3f8cf61 e503834faae098b6e456c2e2ab921737b3fd957c CI <CI@example.com> 1617319581 +1100 commit: first commit on develop
e503834faae098b6e456c2e2ab921737b3fd957c 9e0b31da5b56c4dd7230a85fee330246c16845ac CI <CI@example.com> 1617319581 +1100 commit: second commit on develop
9e0b31da5b56c4dd7230a85fee330246c16845ac 084111cdf3945cf795dfa651723e7e6a927e48ef CI <CI@example.com> 1617319581 +1100 commit: third commit on develop
084111cdf3945cf795dfa651723e7e6a927e48ef 8b7aa507318e42a4efdae2c867d89590bbce48e5 CI <CI@example.com> 1617319581 +1100 commit: fourth commit on develop

View File

@@ -0,0 +1,9 @@
0000000000000000000000000000000000000000 db35d1bf1bfbb57b4b345ee4f6f0554e9e72b015 CI <CI@example.com> 1617319581 +1100 branch: Created from HEAD
db35d1bf1bfbb57b4b345ee4f6f0554e9e72b015 1e953a069f4b657c300ea0464ecc13f9c2e34905 CI <CI@example.com> 1617319581 +1100 commit: first commit freshman year
1e953a069f4b657c300ea0464ecc13f9c2e34905 58151e1e14571021b5d38d941538a2e3c3d0e7a9 CI <CI@example.com> 1617319581 +1100 commit: second commit subway eat fresh
58151e1e14571021b5d38d941538a2e3c3d0e7a9 289b2994fdad04740a383797513c39dd183c87d3 CI <CI@example.com> 1617319581 +1100 commit: third commit fresh
289b2994fdad04740a383797513c39dd183c87d3 36d36a1d6a6e1fb7305747cf1cfedac0d3826e3e CI <CI@example.com> 1617319581 +1100 commit: fourth commit cool
36d36a1d6a6e1fb7305747cf1cfedac0d3826e3e 7f983b882d71782f6520493b14e45b1eb3888a57 CI <CI@example.com> 1617319581 +1100 commit: fifth commit nice
7f983b882d71782f6520493b14e45b1eb3888a57 8146e9924caf0aa2d21db44095ae5a0b0f6e1ce4 CI <CI@example.com> 1617319581 +1100 commit: sixth commit haha
8146e9924caf0aa2d21db44095ae5a0b0f6e1ce4 2c2a4608db50f4c6df0e4580119fd2627d160acd CI <CI@example.com> 1617319581 +1100 commit: seventh commit yeah
2c2a4608db50f4c6df0e4580119fd2627d160acd 7d80e0ed109e6802aa1f23a473200c9af3f8cf61 CI <CI@example.com> 1617319581 +1100 commit: eighth commit woo

View File

@@ -0,0 +1,5 @@
0000000000000000000000000000000000000000 db35d1bf1bfbb57b4b345ee4f6f0554e9e72b015 CI <CI@example.com> 1617319581 +1100 commit (initial): first commit
db35d1bf1bfbb57b4b345ee4f6f0554e9e72b015 cad08b7e2fbbabb2235cc4ca7785f8ba00247d50 CI <CI@example.com> 1617319581 +1100 commit: first commit on master
cad08b7e2fbbabb2235cc4ca7785f8ba00247d50 af2cd230f86b71f1b77a2b13fd090d88f13575e9 CI <CI@example.com> 1617319581 +1100 commit: second commit on master
af2cd230f86b71f1b77a2b13fd090d88f13575e9 627a99630df8cc12c4acdebac3e3e8af1adf9711 CI <CI@example.com> 1617319581 +1100 commit: third commit on master
627a99630df8cc12c4acdebac3e3e8af1adf9711 5e9fe3aa0c84eab154f6f8796804b9e2e0ab0401 CI <CI@example.com> 1617319581 +1100 commit: fourth commit on master

View File

@@ -0,0 +1,3 @@
0000000000000000000000000000000000000000 7fdf0429a1e95f38736a260c5ed4121aa5d6e76f CI <CI@example.com> 1617319581 +1100 branch: Created from HEAD
7fdf0429a1e95f38736a260c5ed4121aa5d6e76f ab172f11e9d1ffc28e53b7c5504f173bf1b27527 CI <CI@example.com> 1617319582 +1100 commit: asd
ab172f11e9d1ffc28e53b7c5504f173bf1b27527 0a71a0176c3eb0a7ccba7e8e675743aecb362f3a CI <CI@example.com> 1617319602 +1100 commit (merge): Merge branch 'develop' into other_branch

View File

@@ -0,0 +1,3 @@
x<01>ŽM
Â0F]ç³d¦ùk@DèªÇ˜$SZh¢x| ^ÀíÇ{¼/•m[t„—VE Ø<>=föÄi
>’×ˆÑ ëh&<26>µ`Hêà*{ƒ 5e¶Ñºdrö<72>Fîí$¢5vÆ%r½±œ¿Ú\* #܇ñ)ÞŽUn©l w6(ØžàJ„¨Îõ<ÕäO\µy©~²¼e-‡úxÌ@

View File

@@ -0,0 +1,2 @@
x<01>ŽË
Â0E]ç+f/H&<26>ֈટ1“ÞPÁØ#èß[ð„»:œ7-¥Ü9ö»VrH HÁØÉg×A=Ä¥¤<C2A5>fH9šU*<1E>&õqbÍÛTc¯A}ˆ@È]¶1 è<>ZŽF^m^*]G:]Ç ÞRÖ;i)gâŽ{ÏC<2í™­5ÝN5ü©|«ÏF¿ŠrÅs.ò ¤š/…Cô

View File

@@ -0,0 +1,3 @@
x<01>ŽK
1D]ç½$<24>ÿ€ˆ0«9FÒÝ2q†ÁãðR»âÕ£h«õÞÁhèM8åH^3åâL1%ñ#1 I0ší\a§öÜäÙÁ'ô(#ÎGÔgxrèmÊF,YÖó¤ò»¯[ƒy<C692>ó¼\å“ëþ<C3AB>0Zœ†
ŽˆZ«ÑŽS]þÄU_ï<5F>á·[“ת¾¢O><3E>

View File

@@ -0,0 +1,2 @@
xå<>A
Â0E]çÿAîTz<>I34…˜´âíM‰Kîý0 |>oñ\‡ãa¿ë83ÆBQÉ/h E Çœ }­²Ìa¨ŸAsjAw¿ÞŒ¤ž1O*Bǯ³Š|V¡'5çßC/ƒ¹´ÀóÂQ&c­ý«Û¬5Éêx³ÜÏüâ7Ã0|Æ

View File

@@ -0,0 +1 @@
xå<>Ñ €0CývŠLÐÅ\ãj<C3A3>VО´WÄí=Àü<08>„äãùM<†iìf.ŒµPUÊM¤HTá™3T¶`Q¢9ƒ"×^òÂh‡d[éºóÓØËi+B<>Ø;ç~¥/ Y:/¸<PÃ

View File

@@ -0,0 +1,2 @@
x<01>ŽA
Â0E]ç³´M"BW=Æt2CcJLÁã[ðnÿñ—œ

View File

@@ -0,0 +1,2 @@
x<01><>K
Β0@]η³$“οD„®z<C2AE>i3΅cJ<63>ΰρ-x·<>χΰΝ­ΦµƒΡιΤw0‰KτΪ&K!x"ΔθtH“Έμ¨°#+<2B>Ϊx—g.fΞΖκBa<42>Xp<58>Ν„¶d<C2B6>t&*h}τ’Ώϋ<CE8F>vγ]>\·‡\ζVo€£Εδ α<>¨µ:θ1ΥεO]υeέ3ό*hO¨ό:bυΟ<>?

View File

@@ -0,0 +1,3 @@
x<01>ŽA
à »öî ůæk ”BV9†ù>I &!Xèñèºf`d«uiÚi à8tVû> ”Q¦4±aŸmNQÔž¬íô³ãD™ƒÊœé‚RH
r“]´ •ÞmÞ=Œú>ŒO|RÝ_¸ÉVš˜£¾¤¯Dƨ“žS

View File

@@ -0,0 +1,2 @@
x<01>ÎM
Â0@a×9EöÌ´ù™¡«cL°ÐØR"x|{·<>oñòÖÚÒ-2^ú¡j Ÿ©e¯…=«+i<>ÄTCHAJŒf—CßÝz媣dr* ½«¡Rä@àë   Om‡<6D>f{Ÿæ§~¥í«ÞòÖÆÙÚ+"€9ë9ÕõOn겪ùpÒ9Ÿ

View File

@@ -0,0 +1,3 @@
x<01>ŽK
Â@D]Ï)z/Hz~Ý£'éacB!ÇwÀ ¸¬âÕ£¦uYlçOuW… çÅ£œ3…ÄÑ
![Fv)°Ùd×WÊ}ËÌv&$¶9†¦ê]B¯>$Ôä˜YùÔ²î0ŒpÆ»²lO½LërŒHûÀgÄ®3­m§ªþ‰÷ã¨~+(RÄ|‰Ð<å

View File

@@ -0,0 +1 @@
xĺ<>Ń €0Cýî™ ?Š3¸ĆµV¨=iOÄí=Ŕü<08>„äă…,ý8tWĆÚ@h*ő‚&R$jĚ*y¶¨Ęs-Üś”Č8v)¶Ňuă§±—ÓV„HęĽ÷żŇ<17>"ťË

View File

@@ -0,0 +1,2 @@
x<01><>K
Β0@]η³d&“_ADθ<44>Η<EFBFBD>Ι ­)1<>Η·ΰά>ήƒ—κΊΞ4α΅7ΠΖo β<>$ƒ–Ε#±Ωrq&µΕ&<26>>”L8<4C> ¨c¤Ά9Ο1

View File

@@ -0,0 +1 @@
c4b40606be30048d61ed9bb55e21ecd612f34d7d

View File

@@ -0,0 +1 @@
8b7aa507318e42a4efdae2c867d89590bbce48e5

View File

@@ -0,0 +1 @@
7d80e0ed109e6802aa1f23a473200c9af3f8cf61

View File

@@ -0,0 +1 @@
5e9fe3aa0c84eab154f6f8796804b9e2e0ab0401

View File

@@ -0,0 +1 @@
0a71a0176c3eb0a7ccba7e8e675743aecb362f3a

View File

@@ -0,0 +1 @@
this is file number 1 that I'm going to cherry-pick

View File

@@ -0,0 +1 @@
this is file number 2 that I'm going to cherry-pick

View File

@@ -0,0 +1 @@
this is file number 3 that I'm going to cherry-pick

View File

@@ -0,0 +1 @@
this is file number 4 that I'm going to cherry-pick

View File

@@ -0,0 +1 @@
this is file number 5 that I'm going to cherry-pick

View File

@@ -0,0 +1 @@
this is file number 6 that I'm going to cherry-pick

View File

@@ -0,0 +1 @@
this is file number 7 that I'm going to cherry-pick

View File

@@ -0,0 +1 @@
this is file number 8 that I'm going to cherry-pick

View File

@@ -0,0 +1 @@
this is file number 9 that I'm going to cherry-pick

View File

@@ -0,0 +1 @@
test2

View File

@@ -0,0 +1 @@
test3

Some files were not shown because too many files have changed in this diff Show More