source-controller/pkg/git/libgit2
Hidde Beydals d9473d008c libgit2: add remaining checkout strategy tests
This commit is a follow up on 4dc3185c5f
and adds tests for the remaining checkout strategies, while
consolidating some of the logic.

The consolidated logic ensures that (SemVer) tag and commit checkouts
happen using the same "checkout detached HEAD" logic.
The branch checkout is left unmodified, and simply checks out at the
current HEAD of the given branch.

Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-10-22 12:01:41 +02:00
..
checkout.go libgit2: add remaining checkout strategy tests 2021-10-22 12:01:41 +02:00
checkout_test.go libgit2: add remaining checkout strategy tests 2021-10-22 12:01:41 +02:00
commit.go Rename Git packages to implementations 2021-02-08 13:55:23 +01:00
transport.go Update github.com/libgit2/git2go to v31.6.1 2021-09-30 16:36:20 +02:00
transport_test.go Add tests for libgit2 2021-04-12 16:31:42 +01:00