mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-12 21:05:48 +02:00
Remove canUsePushTrack parameter of obtainBranches function
It was only needed for git versions older than 2.22.
This commit is contained in:
parent
ad813503fb
commit
765168b9d7
2 changed files with 6 additions and 11 deletions
|
@ -119,7 +119,7 @@ func TestObtainBranch(t *testing.T) {
|
|||
|
||||
for _, s := range scenarios {
|
||||
t.Run(s.testName, func(t *testing.T) {
|
||||
branch := obtainBranch(s.input, s.storeCommitDateAsRecency, true)
|
||||
branch := obtainBranch(s.input, s.storeCommitDateAsRecency)
|
||||
assert.EqualValues(t, s.expectedBranch, branch)
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue