source-controller/pkg/git/strategy
Sanskar Jaiswal 4ce31319ee libgit2: refactor tests to use managed and unmanaged transport cleanly
Refactors libgit2 checkout tests to test managed and unmanaged
transport by making sure the tests requiring unmanaged transport are run
before, any tests that require managed transport (since disabling
managed transport isn't possible). This is done via arranging the tests
carefully in alphabetically sorted names, i.e. the tests with unmanaged
transport go in `checkout_test.go`, which forces golang to run the tests
in that file before any other tests.

Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
2022-06-09 21:01:17 +05:30
..
proxy libgit2: refactor tests to use managed and unmanaged transport cleanly 2022-06-09 21:01:17 +05:30
testdata Add git.CheckoutStrategy auth tests 2021-10-27 00:43:31 +05:30
strategy.go gogit: allow checkout of commit without branch 2021-10-27 00:43:31 +05:30
strategy_test.go libgit2: Add support for hashed known_hosts 2022-05-16 16:57:22 +01:00