Remove canUsePushTrack parameter of obtainBranches function

It was only needed for git versions older than 2.22.
This commit is contained in:
Stefan Haller 2025-03-31 15:55:01 +02:00
parent ad813503fb
commit 765168b9d7
2 changed files with 6 additions and 11 deletions

View file

@ -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)
})
}