mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-08-09 09:22:48 +03:00
Fix crash when viewing the divergence of a branch which is up to date with its upstream
This was introduced by #3838, specifically by commit e675025411
.
Add a regression test that would have crashed without the fix.
This commit is contained in:
@@ -65,6 +65,7 @@ var tests = []*components.IntegrationTest{
|
||||
branch.SetUpstream,
|
||||
branch.ShowDivergenceFromBaseBranch,
|
||||
branch.ShowDivergenceFromUpstream,
|
||||
branch.ShowDivergenceFromUpstreamNoDivergence,
|
||||
branch.SortLocalBranches,
|
||||
branch.SortRemoteBranches,
|
||||
branch.SquashMerge,
|
||||
|
Reference in New Issue
Block a user