From d4256ed554fa64f762d53cb2a64663e5095d3eb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn=20Nieto?= Date: Fri, 4 Jul 2014 10:00:39 +0200 Subject: ssh: provide a factory function for setting ssh paths git allows you to set which paths to use for the git server programs when connecting over ssh; and we want to provide something similar. We do this by providing a factory function which can be set as the remote's transport callback which will set the given paths upon creation. --- script/cibuild.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'script') diff --git a/script/cibuild.sh b/script/cibuild.sh index 699404bd2..5ba07460c 100755 --- a/script/cibuild.sh +++ b/script/cibuild.sh @@ -34,5 +34,8 @@ export GITTEST_REMOTE_SSH_PUBKEY="$HOME/.ssh/id_rsa.pub" export GITTEST_REMOTE_SSH_PASSPHRASE="" if [ -e ./libgit2_clar ]; then - ./libgit2_clar -sonline::push -sonline::clone::cred_callback_failure + ./libgit2_clar -sonline::push -sonline::clone::cred_callback_failure && + rm -rf $HOME/_temp/test.git && + git init --bare $HOME/_temp/test.git && # create an empty one + ./libgit2_clar -sonline::clone::ssh_with_paths fi -- cgit v1.2.1