1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-30 03:23:08 +03:00

Regression test for moving custom patch to new commit from last commit of a stacked branch

I almost broke this during the development of this branch, so add a test to
guard against that. The point here is that the stack remains intact, i.e. the
newly created commit is the last commit of the lower branch, and thus shows the
"*".
This commit is contained in:
Stefan Haller
2025-05-10 15:05:38 +02:00
parent 0c0f95168c
commit b02441cdca
2 changed files with 73 additions and 0 deletions

View File

@ -311,6 +311,7 @@ var tests = []*components.IntegrationTest{
patch_building.MoveToNewCommit,
patch_building.MoveToNewCommitFromAddedFile,
patch_building.MoveToNewCommitFromDeletedFile,
patch_building.MoveToNewCommitInLastCommitOfStackedBranch,
patch_building.MoveToNewCommitPartialHunk,
patch_building.RemoveFromCommit,
patch_building.RemovePartsOfAddedFile,