From abf02bc7d79dfb7b0bbcd404ebecb202cff2a18e Mon Sep 17 00:00:00 2001 From: lhchavez Date: Sun, 6 Dec 2020 11:55:04 -0800 Subject: Add `NewCredentialSSHKeyFromSigner` (#706) This change adds `NewCredentialSSHKeyFromSigner`, which allows idiomatic use of SSH keys from Go. This also lets us spin off an SSH server in the tests. --- testdata/TestGitRepository.git/config | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 testdata/TestGitRepository.git/config (limited to 'testdata/TestGitRepository.git/config') diff --git a/testdata/TestGitRepository.git/config b/testdata/TestGitRepository.git/config new file mode 100644 index 0000000..44b9489 --- /dev/null +++ b/testdata/TestGitRepository.git/config @@ -0,0 +1,6 @@ +[core] + repositoryformatversion = 0 + filemode = true + bare = true +[remote "origin"] + url = https://github.com/libgit2/TestGitRepository -- cgit v1.2.3